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
470d286e
Commit
470d286e
authored
Nov 30, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assert the whole category list.
parent
9373f7bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingBuilder.py
...ccounting/TestTemplateItem/testSlapOSAccountingBuilder.py
+10
-2
master/bt5/slapos_accounting/bt/revision
master/bt5/slapos_accounting/bt/revision
+1
-1
No files found.
master/bt5/slapos_accounting/TestTemplateItem/testSlapOSAccountingBuilder.py
View file @
470d286e
...
...
@@ -1463,8 +1463,16 @@ class TestSlapOSAggregatedDeliveryBuilder(testSlapOSMixin):
built_delivery
.
getReference
())
self
.
assertEqual
(
'confirmed'
,
built_delivery
.
getSimulationState
())
self
.
assertEqual
(
'building'
,
built_delivery
.
getCausalityState
())
self
.
assertEqual
(
delivery
.
getPriceCurrency
(),
built_delivery
.
getPriceCurrency
())
self
.
assertSameSet
([
'destination/%s'
%
person
.
getRelativeUrl
(),
'destination_decision/%s'
%
person
.
getRelativeUrl
(),
'destination_section/%s'
%
person
.
getRelativeUrl
(),
'price_currency/currency_module/EUR'
,
'source/%s'
%
person
.
getRelativeUrl
(),
'source_section/organisation_module/slapos'
,
'specialise/sale_trade_condition_module/'
'slapos_aggregated_trade_condition'
],
built_delivery
.
getCategoryList
())
self
.
assertEqual
(
DateTime
().
earliestTime
(),
built_delivery
.
getStartDate
())
delivery_line_list
=
built_delivery
.
contentValues
(
portal_type
=
'Sale Packing List Line'
)
...
...
master/bt5/slapos_accounting/bt/revision
View file @
470d286e
190
\ No newline at end of file
191
\ 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