Ejemplo n.º 1
0
 def test_subscription_07_enable(self):
         subscription = Subscription_Cmd()
         subscription.set_globals(api,login,password)
         t = subscription.do_enable("--name "+subscriptionTest)
         self.assertEquals(t,0)
Ejemplo n.º 2
0
 def test_subscription_03_create(self):
         subscription = Subscription_Cmd()
         subscription.set_globals(api,login,password)
         t = subscription.do_create("--name "+subscriptionTest+" --code test")
         self.assertEquals(t,0)
Ejemplo n.º 3
0
 def test_subscription_04_update(self):
         subscription = Subscription_Cmd()
         subscription.set_globals(api,login,password)
         t = subscription.do_update("--name "+subscriptionTest+" --active")
         self.assertEquals(t,0)
Ejemplo n.º 4
0
 def test_subscription_01_list(self):
         subscription = Subscription_Cmd()
         subscription.set_globals(api,login,password)
         t = subscription.do_list("")
         self.assertEquals(t,0)