Skip to content

Commit

Permalink
Remove test_auth_empty_token()
Browse files Browse the repository at this point in the history
Filestore client can't use empty token and tries default token path anyway.
  • Loading branch information
jkuradobery committed Sep 26, 2024
1 parent f341bb3 commit 801f081
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions cloud/filestore/tests/auth/old/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,3 @@ def test_auth_unauthorized():
)
assert result.returncode != 0
assert json.loads(result.stdout.decode())["Error"]["CodeString"] == "E_UNAUTHORIZED"


def test_auth_empty_token():
fixture = TestFixture()
fixture.access_service.authorize("test_auth_token")
client = fixture.get_client("")
result = client.create(
"test_auth_empty_token_fs",
"some_cloud",
fixture.folder_id,
return_stdout=False,
)
assert result.returncode != 0
assert json.loads(result.stdout.decode())["Error"]["CodeString"] == "E_UNAUTHORIZED"

0 comments on commit 801f081

Please sign in to comment.