def test_init_with_invalid_token(): api_client = ApiClient(server_url=SERVER_URL, token="asdf") assert api_client.validate_own_token()
def test_get_token(): api_client = ApiClient(server_url=SERVER_URL) assert api_client.validate_own_token()