Esempio n. 1
0
 def test_delete_global_group(self):
     utils.create_tenant(self.globaltenant, str(self.auth_token))
     utils.create_tenant_group('test_global_group_delete',
                               self.globaltenant, str(self.auth_token))
     resp_new, _content_new = utils.delete_global_group(\
                               'test_global_group_delete',
                               str(self.auth_token))
     _resp = utils.delete_tenant(self.globaltenant, str(self.auth_token))
     self.assertEqual(204, int(resp_new['status']))
Esempio n. 2
0
 def test_delete_global_group(self):
     resp, content = utils.create_tenant(self.globaltenant, str(self.auth_token))
     respG, contentG = utils.create_tenant_group("test_global_group_delete", self.globaltenant, str(self.auth_token))
     respG, contentG = utils.delete_global_group("test_global_group_delete", str(self.auth_token))
     resp, content = utils.delete_tenant(self.globaltenant, str(self.auth_token))
     self.assertEqual(204, int(respG["status"]))