def _do_test_no_settings(self, api_client_mgmt, tenant_id=None): auth = None if tenant_id is not None: auth = make_auth("foo", tenant_id) found = api_client_mgmt.get_settings(auth) assert found.json() == {}
def _set_and_verify(self, settings, api_client_mgmt, auth): r = api_client_mgmt.post_settings(settings, auth) assert r.status_code == 201 found = api_client_mgmt.get_settings(auth) assert found.json() == settings