From 51a7e86d9d472e83dd17e93b02d70f89fb675d3a Mon Sep 17 00:00:00 2001 From: Ivan Zubenko Date: Fri, 10 Jun 2022 12:21:15 +0300 Subject: [PATCH] fix build (#373) --- tests/integration/conftest_auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/conftest_auth.py b/tests/integration/conftest_auth.py index f1e5f99..6e0c5d9 100644 --- a/tests/integration/conftest_auth.py +++ b/tests/integration/conftest_auth.py @@ -5,7 +5,7 @@ import pytest from aiohttp.hdrs import AUTHORIZATION from jose import jwt -from neuro_auth_client import AuthClient, Cluster, Permission, User as AuthClientUser +from neuro_auth_client import AuthClient, Permission, User as AuthClientUser from yarl import URL from platform_secrets.config import PlatformAuthConfig @@ -74,7 +74,7 @@ async def _factory( ) -> _User: if not name: name = f"user-{random_name()}" - user = AuthClientUser(name=name, clusters=[Cluster(name=cluster_name)]) + user = AuthClientUser(name=name) await auth_client.add_user(user, token=admin_token) if not skip_grant: # Grant permissions to the user home directory