Commit f950f9a2 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_accounting: Define Test Mixin for help reuse later on.

parent d94135bc
Pipeline #36835 failed with stage
in 0 seconds
...@@ -10,7 +10,7 @@ from erp5.component.test.SlapOSTestCaseMixin import PinnedDateTime ...@@ -10,7 +10,7 @@ from erp5.component.test.SlapOSTestCaseMixin import PinnedDateTime
from DateTime import DateTime from DateTime import DateTime
class TestSlapOSManualAccountingScenario(TestSlapOSVirtualMasterScenarioMixin): class TestSlapOSManualAccountingScenarioMixin(TestSlapOSVirtualMasterScenarioMixin):
def bootstrapManualAccountingTest(self): def bootstrapManualAccountingTest(self):
currency, _, _, sale_person = self.bootstrapVirtualMasterTest() currency, _, _, sale_person = self.bootstrapVirtualMasterTest()
self.tic() self.tic()
...@@ -145,6 +145,9 @@ class TestSlapOSManualAccountingScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -145,6 +145,9 @@ class TestSlapOSManualAccountingScenario(TestSlapOSVirtualMasterScenarioMixin):
self.tic() self.tic()
self.assertEqual(transaction.getSimulationState(), 'stopped') self.assertEqual(transaction.getSimulationState(), 'stopped')
class TestSlapOSManualAccountingScenario(TestSlapOSManualAccountingScenarioMixin):
def test_purchase_invoice_transaction(self, provider_as_organisation=False): def test_purchase_invoice_transaction(self, provider_as_organisation=False):
""" """
Accountant creates a Purchase Invoice Transaction and group it with a Accountant creates a Purchase Invoice Transaction and group it with a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment