def test_invalid_dest_status_accepted(self, api_client_int, api_client_mgmt, init_authsets_mt, tenant_id): auth = api_client_mgmt.make_user_auth("user", tenant_id) self._do_test_invalid_dest_status('accepted', api_client_int, api_client_mgmt, init_authsets_mt[tenant_id], auth)
def test_get_devices(self, init_authsets_mt, api_client_mgmt, tenant_id): auth = api_client_mgmt.make_user_auth("user", tenant_id) self._test_get_devices(init_authsets_mt[tenant_id], api_client_mgmt, auth)
def test_ok_nonexistent(self, api_client_mgmt, init_authsets_mt, tenant_id): auth = api_client_mgmt.make_user_auth("user", tenant_id) self._test_ok_nonexistent(api_client_mgmt, init_authsets_mt[tenant_id], auth)
def test_bad_req_iddata(self, api_client_mgmt, init_authsets_mt, tenant_id): auth = api_client_mgmt.make_user_auth("user", tenant_id) self._test_bad_req_iddata(api_client_mgmt, init_authsets_mt[tenant_id], auth)
def test_invalid_init_status_pending(self, api_client_int, api_client_mgmt, init_authsets_mt, tenant_id): auth = api_client_mgmt.make_user_auth("user", tenant_id) self._do_test_invalid_init_status('pending', api_client_int, api_client_mgmt, init_authsets_mt[tenant_id], auth)
def test_ok(self, api_client_int, api_client_mgmt, init_authsets_mt, tenant_id): auth = api_client_mgmt.make_user_auth("user", tenant_id) self._do_test_ok(api_client_int, api_client_mgmt, init_authsets_mt[tenant_id], auth)