Commit a4b8b535 by Rafael Monnerat

slapos_cloud: add method for set computer as Open/Subscription

1 parent 76b96377
......@@ -143,6 +143,15 @@ class DefaultScenarioMixin(TestSlapOSSecurityMixin):
self.tic()
@changeSkin('RJS')
def setServerOpenSubscription(self, server):
server.edit(
allocation_scope='open/subscription')
self.assertEqual('open/subscription', server.getAllocationScope())
self.assertEqual('open', server.getCapacityScope())
server.edit(capacity_scope='open')
self.tic()
@changeSkin('RJS')
def setServerOpenPersonal(self, server):
server.edit(
allocation_scope='open/personal', subject_list=[])
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!