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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos.core
Commits
e504bd55
Commit
e504bd55
authored
Feb 24, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Follow
5b83ed49
.
Hardcode values for PPL too.
parent
2f1d0501
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
master/product/Vifib/tests/testVifibSlapWebService.py
master/product/Vifib/tests/testVifibSlapWebService.py
+9
-1
No files found.
master/product/Vifib/tests/testVifibSlapWebService.py
View file @
e504bd55
...
...
@@ -2334,6 +2334,13 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
order
=
module
.
newContent
(
portal_type
=
self
.
purchase_packing_list_portal_type
,
start_date
=
DateTime
(),
specialise
=
'sale_trade_condition_module/vifib_trade_condition'
,
source
=
'organisation_module/vifib_internet'
,
source_section
=
'organisation_module/vifib_internet'
,
# XXX Hardcoded values
destination
=
'person_module/test_vifib_customer'
,
destination_section
=
'person_module/test_vifib_customer'
,
price_currency
=
'currency_module/EUR'
,
)
sequence
.
edit
(
purchase_packing_list_uid
=
order
.
getUid
())
...
...
@@ -2344,7 +2351,8 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
order
=
self
.
portal
.
portal_catalog
.
getResultValue
(
uid
=
sequence
[
"purchase_packing_list_uid"
])
line
=
order
.
newContent
(
portal_type
=
self
.
purchase_packing_list_line_portal_type
)
portal_type
=
self
.
purchase_packing_list_line_portal_type
,
quantity
=
1
)
sequence
.
edit
(
purchase_packing_list_line_uid
=
line
.
getUid
())
def
stepSetPurchasePackingListLineAggregate
(
self
,
sequence
,
**
kw
):
...
...
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