Beispiel #1
0
 def test_usergrp_02_list(self):
         usergrp = Usergrp_Cmd()
         usergrp.set_globals(api,login,password)
         t = usergrp.do_list("")
         self.assertEquals(t,0)
Beispiel #2
0
 def test_usergrp_04_delete(self):
         usergrp = Usergrp_Cmd()
         usergrp.set_globals(api,login,password)
         t = usergrp.do_delete("--name " + usergrpTest)
         self.assertEquals(t,0)
Beispiel #3
0
 def test_usergrp_01_create(self):
         usergrp = Usergrp_Cmd()
         usergrp.set_globals(api,login,password)
         t = usergrp.do_create("--name " + usergrpTest + " --email " + usergrpTest + "@usharesoft.com --usergrpPassword " + usergrpTest + " --accounts " + usergrpTestAddAccounts)
         self.assertEquals(t,0)