Skip to content

Commit

Permalink
Try fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
epwalsh committed Jan 30, 2024
1 parent 496807c commit 8a9711f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dev = [
"types-PyYAML",
"black>=23.0,<24.0",
"isort>=5.12,<5.13",
"pytest",
"pytest<8.0",
"pytest-sphinx",
"flaky",
"twine>=1.11.0",
Expand Down
3 changes: 3 additions & 0 deletions tests/workspace_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,18 @@ def test_workspace_get_permissions(client: Beaker):
client.workspace.get_permissions()


@pytest.mark.skip("Requires admin credentials")
def test_workspace_grant_and_revoke_permissions(client: Beaker, alternate_user: Account):
client.workspace.grant_permissions(Permission.read, alternate_user)
client.workspace.revoke_permissions(alternate_user)


@pytest.mark.skip("Requires admin credentials")
def test_workspace_set_visibility(client: Beaker):
client.workspace.set_visibility(public=False)


@pytest.mark.skip("Requires admin credentials")
def test_workspace_set_visibility_archived(client: Beaker, archived_workspace_name: str):
client.workspace.set_visibility(public=False, workspace=archived_workspace_name)

Expand Down

0 comments on commit 8a9711f

Please sign in to comment.