Commit 8eab075b authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: continue to hack on cloud contract

parent 4b4249f5
......@@ -390,7 +390,8 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin):
software_release=software_release,
software_type=software_type,
partition_reference=instance_title,
shared_xml='<marshal><bool>1</bool></marshal>'
shared_xml='<marshal><bool>1</bool></marshal>',
project_reference=project_reference
)
# now instantiate it on compute_node and set some nice connection dict
......@@ -512,6 +513,7 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin):
validation_state=['invalidated', 'validated'])
self.assertNotEqual(contract, None)
if contract.getValidationState() != 'validated':
self.assertEqual(contract.getValidationState(), "invalidated")
# HACK FOR NOW
......
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