Commit 0b39f710 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: update one more test

parent 23d99751
...@@ -715,14 +715,19 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin): ...@@ -715,14 +715,19 @@ class TestSlapOSVirtualMasterScenario(TestSlapOSVirtualMasterScenarioMixin):
self.login() self.login()
# Ensure no unexpected object has been created # Ensure no unexpected object has been created
# 3 (can reduce to 2) assignment, 2 instance tree, 1 compute node, 1 software installation # 6 allocation supply/line/cell
# 2 compute/instance node
# 1 credential request
# 2 instance tree
# 9 open sale order / line
# 2 assignment
# 4 simulation movement
# 2 sale trade condition
# 1 software installation
# 2 software instance # 2 software instance
# 2 credential request
# 2 software product # 2 software product
# 6 allocation supply/line/cell # 4 subscription request
# 1 instance node self.assertRelatedObjectCount(project, 37)
related_object_list = project.Base_getRelatedObjectList(**{'category.category_strict_membership': 1})
assert len(related_object_list) == 20, [x.getRelativeUrl() for x in related_object_list]
self.stepcheckERP5Consistency() self.stepcheckERP5Consistency()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment