Commit eae4ba5a authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_cloud: Check cloud contract as superuser

parent 69f42628
...@@ -413,6 +413,7 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin): ...@@ -413,6 +413,7 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin):
def checkCloudContract(self, person_user_id, person_reference, def checkCloudContract(self, person_user_id, person_reference,
instance_title, software_release, software_type, server): instance_title, software_release, software_type, server):
self.login()
self.assertTrue(self.portal.portal_preferences.getPreferredCloudContractEnabled()) self.assertTrue(self.portal.portal_preferences.getPreferredCloudContractEnabled())
self.stepCallSlaposContractRequestValidationPaymentAlarm() self.stepCallSlaposContractRequestValidationPaymentAlarm()
......
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