From f761a5cf18c8f59e149e11295125d3ce327bf4dc Mon Sep 17 00:00:00 2001 From: Albert Cervera i Areny Date: Sun, 3 May 2020 00:10:46 +0200 Subject: [PATCH] Use 'province' as type for the subdivision created in the tests. Only some subdivision types are now valid for each country. --- tests/test_account_invoice_facturae.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_account_invoice_facturae.py b/tests/test_account_invoice_facturae.py index ac6064c..604ab69 100644 --- a/tests/test_account_invoice_facturae.py +++ b/tests/test_account_invoice_facturae.py @@ -44,7 +44,7 @@ class TestAccountInvoiceFacturaeCase(ModuleTestCase): country = Country(name='Country', code='ES', code3='ESP') country.save() subdivision = Subdivision( - name='Subdivision', country=country, code='SUB', type='area') + name='Subdivision', country=country, code='SUB', type='province') subdivision.save() company = create_company()