Commit dac221ca authored by Łukasz Nowak's avatar Łukasz Nowak

Fixup test recognition.

Mixing is not a test itself, it is just code-holder.
parent 74c50af2
...@@ -1367,7 +1367,7 @@ class TestSlapOSManageBuildingCalculatingDeliveryAlarm(testSlapOSMixin): ...@@ -1367,7 +1367,7 @@ class TestSlapOSManageBuildingCalculatingDeliveryAlarm(testSlapOSMixin):
def test_Delivery_manageBuildingCalculatingDelivery_diverged(self): def test_Delivery_manageBuildingCalculatingDelivery_diverged(self):
self._test_Delivery_manageBuildingCalculatingDelivery('diverged', True) self._test_Delivery_manageBuildingCalculatingDelivery('diverged', True)
class TestSlapOSConfirmedDeliveryMixin(testSlapOSMixin): class TestSlapOSConfirmedDeliveryMixin:
def _test(self, simulation_state, causality_state, specialise, positive, def _test(self, simulation_state, causality_state, specialise, positive,
delivery_date=DateTime('2012/04/22'), delivery_date=DateTime('2012/04/22'),
accounting_date=DateTime('2012/04/28')): accounting_date=DateTime('2012/04/28')):
...@@ -1459,7 +1459,7 @@ class TestSlapOSConfirmedDeliveryMixin(testSlapOSMixin): ...@@ -1459,7 +1459,7 @@ class TestSlapOSConfirmedDeliveryMixin(testSlapOSMixin):
'confirmed', True) 'confirmed', True)
class TestSlapOSDeliverConfirmedAggregatedSalePackingListAlarm( class TestSlapOSDeliverConfirmedAggregatedSalePackingListAlarm(
TestSlapOSConfirmedDeliveryMixin): testSlapOSMixin, TestSlapOSConfirmedDeliveryMixin):
destination_state = 'delivered' destination_state = 'delivered'
script = 'Delivery_deliverConfirmedAggregatedSalePackingList' script = 'Delivery_deliverConfirmedAggregatedSalePackingList'
portal_type = 'Sale Packing List' portal_type = 'Sale Packing List'
...@@ -1484,7 +1484,7 @@ class TestSlapOSDeliverConfirmedAggregatedSalePackingListAlarm( ...@@ -1484,7 +1484,7 @@ class TestSlapOSDeliverConfirmedAggregatedSalePackingListAlarm(
accounting_date=DateTime('2012/04/23')) accounting_date=DateTime('2012/04/23'))
class TestSlapOSStopConfirmedAggregatedSaleInvoiceTransactionAlarm( class TestSlapOSStopConfirmedAggregatedSaleInvoiceTransactionAlarm(
TestSlapOSConfirmedDeliveryMixin): testSlapOSMixin, TestSlapOSConfirmedDeliveryMixin):
destination_state = 'stopped' destination_state = 'stopped'
script = 'Delivery_stopConfirmedAggregatedSaleInvoiceTransaction' script = 'Delivery_stopConfirmedAggregatedSaleInvoiceTransaction'
portal_type = 'Sale Invoice Transaction' portal_type = 'Sale Invoice Transaction'
......
186 187
\ No newline at end of file \ No newline at end of file
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