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
Gabriel Monnerat
slapos.core
Commits
e048111e
Commit
e048111e
authored
Dec 01, 2011
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
follow_up replaced aggregate.
parent
010dd9d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
master/bt5/vifib_erp5/TestTemplateItem/testVifibConstraint.py
...er/bt5/vifib_erp5/TestTemplateItem/testVifibConstraint.py
+4
-4
master/bt5/vifib_erp5/TestTemplateItem/testVifibUserDeveloper.py
...bt5/vifib_erp5/TestTemplateItem/testVifibUserDeveloper.py
+1
-1
No files found.
master/bt5/vifib_erp5/TestTemplateItem/testVifibConstraint.py
View file @
e048111e
...
...
@@ -480,7 +480,7 @@ class TestVifibPurchasePackingListLineConstraint(testVifibMixin):
self
.
assertFalse
(
consistency_message
in
getMessageList
(
line
))
class
TestVifibSoftwareReleaseConstraint
(
testVifibMixin
):
def
test_
aggregate
(
self
):
def
test_
follow_up
(
self
):
consistency_message_existence
=
'One Software Product must be defined'
consistency_message_state
=
'Software Product must be validated'
...
...
@@ -494,7 +494,7 @@ class TestVifibSoftwareReleaseConstraint(testVifibMixin):
software_product
=
self
.
portal
.
software_product_module
.
newContent
(
portal_type
=
'Software Product'
)
software_release
.
set
Aggregate
(
software_product
.
getRelativeUrl
())
software_release
.
set
FollowUp
(
software_product
.
getRelativeUrl
())
self
.
assertFalse
(
consistency_message_existence
in
getMessageList
(
software_release
))
...
...
@@ -502,13 +502,13 @@ class TestVifibSoftwareReleaseConstraint(testVifibMixin):
software_product_2
=
self
.
portal
.
software_product_module
.
newContent
(
portal_type
=
'Software Product'
)
software_release
.
set
Aggregate
List
([
software_product
.
getRelativeUrl
(),
software_release
.
set
FollowUp
List
([
software_product
.
getRelativeUrl
(),
software_product_2
.
getRelativeUrl
()])
self
.
assertTrue
(
consistency_message_existence
in
getMessageList
(
software_release
))
software_release
.
set
Aggregate
(
software_product
.
getRelativeUrl
())
software_release
.
set
FollowUp
(
software_product
.
getRelativeUrl
())
self
.
assertTrue
(
consistency_message_state
in
getMessageList
(
software_release
))
...
...
master/bt5/vifib_erp5/TestTemplateItem/testVifibUserDeveloper.py
View file @
e048111e
...
...
@@ -80,7 +80,7 @@ class TestVifibUserDeveloper(testVifibMixin):
software_product
.
portal_workflow
.
doActionFor
(
software_product
,
'publish_action'
)
# Edit software release
software_release
.
edit
(
aggregate
_value
=
software_product
,
follow_up
_value
=
software_product
,
)
# Accept software release
software_release
.
portal_workflow
.
doActionFor
(
software_release
,
'publish_action'
)
...
...
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