mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
Remove not very useful tests
This commit is contained in:
@@ -8,13 +8,8 @@ class TestIntrastatBase(TransactionCase):
|
||||
def setUp(self):
|
||||
super(TestIntrastatBase, self).setUp()
|
||||
|
||||
|
||||
def test_10_countries(self):
|
||||
# check if only EU countries have the 'intrastat' bit set
|
||||
france = self.env.ref('base.fr')
|
||||
self.assertTrue(france.intrastat)
|
||||
brazil = self.env.ref('base.br')
|
||||
self.assertFalse(brazil.intrastat)
|
||||
denmark = self.env.ref('base.dk')
|
||||
self.assertTrue(denmark.intrastat)
|
||||
kenya = self.env.ref('base.ke')
|
||||
@@ -31,19 +26,6 @@ class TestIntrastatBase(TransactionCase):
|
||||
self.assertEquals(demo_company.intrastat_email_list, demo_user.email)
|
||||
|
||||
|
||||
def test_exclude_intrastat(self):
|
||||
# Test if exclude_from_intrastat_if_present is false
|
||||
exclude_tax = self.env['account.tax'].search([('id', '=', 1)])
|
||||
for item in exclude_tax:
|
||||
self.assertFalse(item.exclude_from_intrastat_if_present)
|
||||
|
||||
def test_accessory_cost(self):
|
||||
accessory_cost = self.env['product.product'].search([('id', '=', 1)])
|
||||
for test in accessory_cost:
|
||||
self.assertFalse(test.is_accessory_cost)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user