Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
16
Merge Requests
16
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
dac221ca
Commit
dac221ca
authored
Nov 29, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup test recognition.
Mixing is not a test itself, it is just code-holder.
parent
74c50af2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingAlarm.py
..._accounting/TestTemplateItem/testSlapOSAccountingAlarm.py
+3
-3
master/bt5/slapos_accounting/bt/revision
master/bt5/slapos_accounting/bt/revision
+1
-1
No files found.
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingAlarm.py
View file @
dac221ca
...
@@ -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'
...
...
master/bt5/slapos_accounting/bt/revision
View file @
dac221ca
186
187
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment