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
Titouan Soulard
slapos.core
Commits
a12558b5
Commit
a12558b5
authored
Dec 12, 2022
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_erp5: test: do not create Software Installation for Remote Node
parent
5c96ce02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5VirtualMasterScenario.py
...mponents/test.erp5.testSlapOSERP5VirtualMasterScenario.py
+2
-5
No files found.
master/bt5/slapos_erp5/TestTemplateItem/portal_components/test.erp5.testSlapOSERP5VirtualMasterScenario.py
View file @
a12558b5
...
...
@@ -850,9 +850,6 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
# and install some software on them
public_server_software
=
remote_server_software
remote_compute_node
.
requestSoftwareRelease
(
software_release_url
=
public_server_software
,
state
=
'available'
)
#software_product, release_variation, type_variation = self.addSoftwareProduct(
public_instance_type
=
remote_instance_type
software_product
,
software_release
,
software_type
=
self
.
addSoftwareProduct
(
...
...
@@ -941,13 +938,13 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
assert
len
(
related_object_list
)
==
14
,
[
x
.
getRelativeUrl
()
for
x
in
related_object_list
]
# Ensure no unexpected object has been created
# 2 (can reduce to 2) assignment, 1 remote node
, 1 software installation
# 2 (can reduce to 2) assignment, 1 remote node
# 1 instance tree, 1 software instance
# 1 credential request
# 1 software product
# 3 allocation supply/line/cell
related_object_list
=
project
.
Base_getRelatedObjectList
(
**
{
'category.category_strict_membership'
:
1
})
assert
len
(
related_object_list
)
==
1
1
,
[
x
.
getRelativeUrl
()
for
x
in
related_object_list
]
assert
len
(
related_object_list
)
==
1
0
,
[
x
.
getRelativeUrl
()
for
x
in
related_object_list
]
self
.
stepcheckERP5Consistency
()
...
...
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