We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 777bfc0 commit ab67e6eCopy full SHA for ab67e6e
libs/labelbox/tests/integration/test_api_keys.py
@@ -228,11 +228,9 @@ def test_create_api_key_invalid_time_unit(client):
228
)
229
assert "valid TimeUnit" in str(excinfo.value)
230
231
-
232
-@pytest.mark.skipif(
233
- condition=os.environ["LABELBOX_TEST_ENVIRON"] == "prod",
234
- reason="Accounts with sdmin permission can create API keys",
235
-)
+# Not removing test completely as perhaps the original author on the test could elaborate more
+# Disabling for the CI
+@pytest.mark.skip(reason="Test does not make sense as there is no client with restricted permissions")
236
def test_create_api_key_insufficient_permissions(client):
237
"""Test that creating an API key fails when the user has insufficient permissions."""
238
user_email = client.get_user().email
0 commit comments