Skip to content

Commit

Permalink
[Internal] Verify that WorkspaceClient created from AccountClient
Browse files Browse the repository at this point in the history
… does actually work through integration tests (#736)

Signed-off-by: Serge Smertin <259697+nfx@users.noreply.github.com>
  • Loading branch information
nfx authored Aug 27, 2024
1 parent 5893d4d commit dd07079
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/integration/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ def test_creating_ws_client_from_ac_client_does_not_override_config(a):
wss = list(a.workspaces.list())
if len(wss) == 0:
pytest.skip("no workspaces")
a.get_workspace_client(wss[0])

# assert doesn't throw
wss = list(a.workspaces.list())
w = a.get_workspace_client(wss[0])
me = w.current_user.me()
assert me.user_name is not None

0 comments on commit dd07079

Please sign in to comment.