Skip to content

Commit ab67e6e

Browse files
committed
[SDK-0] Disabling test
Signed-off-by: Mihhail Matisinets <[email protected]>
1 parent 777bfc0 commit ab67e6e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

libs/labelbox/tests/integration/test_api_keys.py

+3-5
Original file line numberDiff line numberDiff line change
@@ -228,11 +228,9 @@ def test_create_api_key_invalid_time_unit(client):
228228
)
229229
assert "valid TimeUnit" in str(excinfo.value)
230230

231-
232-
@pytest.mark.skipif(
233-
condition=os.environ["LABELBOX_TEST_ENVIRON"] == "prod",
234-
reason="Accounts with sdmin permission can create API keys",
235-
)
231+
# Not removing test completely as perhaps the original author on the test could elaborate more
232+
# Disabling for the CI
233+
@pytest.mark.skip(reason="Test does not make sense as there is no client with restricted permissions")
236234
def test_create_api_key_insufficient_permissions(client):
237235
"""Test that creating an API key fails when the user has insufficient permissions."""
238236
user_email = client.get_user().email

0 commit comments

Comments
 (0)