Skip to content

Commit

Permalink
fix build (#373)
Browse files Browse the repository at this point in the history
  • Loading branch information
zubenkoivan authored Jun 10, 2022
1 parent ae91f07 commit 51a7e86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/conftest_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 51a7e86

Please sign in to comment.