Esempio n. 1
0
 def test_subscription_13_format_remove(self):
         subscription_format = Subscription_Format()
         subscription_format.set_globals(api,login,password)
         t = subscription_format.do_remove("--name "+subscriptionTest+" --formats "+subscriptionFormatTest1+" "+subscriptionFormatTest2)
         self.assertEquals(t,0)
Esempio n. 2
0
 def test_subscription_12_format_add(self):
         subscription_format = Subscription_Format()
         subscription_format.set_globals(api,login,password)
         t = subscription_format.do_add("--name "+subscriptionTest+" --formats "+subscriptionRoleTest1+" "+subscriptionRoleTest2)
         self.assertEquals(t,0)