File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
libs/labelbox/tests/integration Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff 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" )
236234def 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
You can’t perform that action at this time.
0 commit comments