def test_not_found(self, tenant_id, api_client_mgmt): with tenantadm.run_fake_delete_user(): self._do_test_not_found(api_client_mgmt, tenant_id)
def test_ok(self, tenant_id, api_client_mgmt, init_users_mt): with tenantadm.run_fake_delete_user(tenant_id, init_users_mt[tenant_id][0]['id']): self._do_test_ok(api_client_mgmt, init_users_mt[tenant_id], tenant_id)