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
20
Merge Requests
20
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
b171c782
Commit
b171c782
authored
Sep 27, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check updated PPL constraint.
parent
88e51bd2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
master/bt5/vifib_erp5/TestTemplateItem/testVifibConstraint.py
...er/bt5/vifib_erp5/TestTemplateItem/testVifibConstraint.py
+19
-0
master/bt5/vifib_erp5/bt/revision
master/bt5/vifib_erp5/bt/revision
+1
-1
No files found.
master/bt5/vifib_erp5/TestTemplateItem/testVifibConstraint.py
View file @
b171c782
...
...
@@ -376,6 +376,25 @@ class TestVifibPurchasePackingListLineConstraint(testVifibMixin):
computer
.
validate
()
self
.
assertFalse
(
consistency_message_state
in
getMessageList
(
line
))
def
test_aggregate_software_installation
(
self
):
consistency_message_existence
=
'There should be exactly one Software '
\
'Installation present in Items'
line
=
self
.
portal
.
purchase_packing_list_module
.
newContent
(
portal_type
=
'Purchase Packing List'
).
newContent
(
portal_type
=
'Purchase Packing List Line'
,
resource
=
self
.
portal
.
portal_preferences
\
.
getPreferredSoftwareSetupResource
())
self
.
assertTrue
(
consistency_message_existence
in
getMessageList
(
line
))
software_installation
=
self
.
portal
.
software_installation_module
.
newContent
(
portal_type
=
'Software Installation'
)
line
.
setAggregate
(
software_installation
.
getRelativeUrl
())
self
.
assertFalse
(
consistency_message_existence
in
getMessageList
(
line
))
def
test_aggregate_software_release
(
self
):
consistency_message_existence
=
'There should be exactly one Software '
\
'Release present in Items'
...
...
master/bt5/vifib_erp5/bt/revision
View file @
b171c782
476
\ No newline at end of file
477
\ 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