From ea282daa059b452564a70d86274c55cd1ba809db Mon Sep 17 00:00:00 2001 From: Frederik Jaeckel Date: Fri, 16 Sep 2022 10:40:28 +0200 Subject: [PATCH] test korrigiert --- tests/test_category.py | 3 --- tests/test_transaction.py | 7 ------- 2 files changed, 10 deletions(-) diff --git a/tests/test_category.py b/tests/test_category.py index 6fed058..f10488d 100644 --- a/tests/test_category.py +++ b/tests/test_category.py @@ -263,7 +263,6 @@ I 'currency': company.currency.id, 'number_sequ': self.prep_sequence().id, 'start_date': date(2010, 1, 1), - 'start_balance': Decimal('0.0'), }, { 'name': 'S-Giro', 'btype': types.id, @@ -271,7 +270,6 @@ I 'currency': company.currency.id, 'number_sequ': self.prep_sequence().id, 'start_date': date(2010, 1, 1), - 'start_balance': Decimal('0.0'), }, { 'name': 'Bargeld', 'btype': types.id, @@ -279,7 +277,6 @@ I 'currency': company.currency.id, 'number_sequ': self.prep_sequence().id, 'start_date': date(2010, 1, 1), - 'start_balance': Decimal('0.0'), }]) self.assertEqual(books[0].name, 'Cash Book') self.assertEqual(books[1].name, 'S-Giro') diff --git a/tests/test_transaction.py b/tests/test_transaction.py index ea4c8e0..da61c04 100644 --- a/tests/test_transaction.py +++ b/tests/test_transaction.py @@ -36,7 +36,6 @@ class TransactionTestCase(ModuleTestCase): 'currency': company.currency.id, 'number_sequ': self.prep_sequence().id, 'start_date': date(2010, 1, 1), - 'start_balance': Decimal('0.0'), }, { 'name': 'S-Giro', 'btype': types.id, @@ -44,7 +43,6 @@ class TransactionTestCase(ModuleTestCase): 'currency': company.currency.id, 'number_sequ': self.prep_sequence().id, 'start_date': date(2010, 1, 1), - 'start_balance': Decimal('0.0'), }]) Book.write(*[ @@ -99,7 +97,6 @@ class TransactionTestCase(ModuleTestCase): 'currency': company.currency.id, 'number_sequ': self.prep_sequence().id, 'start_date': date(2010, 1, 1), - 'start_balance': Decimal('0.0'), }, { 'name': 'S-Giro', 'btype': types.id, @@ -107,7 +104,6 @@ class TransactionTestCase(ModuleTestCase): 'currency': company.currency.id, 'number_sequ': self.prep_sequence().id, 'start_date': date(2010, 1, 1), - 'start_balance': Decimal('0.0'), }, { 'name': 'Bargeld', 'btype': types.id, @@ -115,7 +111,6 @@ class TransactionTestCase(ModuleTestCase): 'currency': company.currency.id, 'number_sequ': self.prep_sequence().id, 'start_date': date(2010, 1, 1), - 'start_balance': Decimal('0.0'), }]) Party.create([{ @@ -231,7 +226,6 @@ Mreturn of bottles 'currency': company.currency.id, 'number_sequ': self.prep_sequence().id, 'start_date': date(2010, 1, 1), - 'start_balance': Decimal('0.0'), }, { 'name': 'To Book', 'btype': types.id, @@ -239,7 +233,6 @@ Mreturn of bottles 'currency': company.currency.id, 'number_sequ': self.prep_sequence().id, 'start_date': date(2010, 1, 1), - 'start_balance': Decimal('0.0'), }]) Party.create([{