Skip to content

Commit da66ff5

Browse files
author
Kevin Kim
committed
Fix DA access test condition
1 parent 2b5061e commit da66ff5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/test_delegated_access.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from labelbox import Client
77

88

9-
@pytest.mark.skipif(os.environ.get("DA_GCP_LABELBOX_API_KEY") == "",
9+
@pytest.mark.skipif(not os.environ.get('DA_GCP_LABELBOX_API_KEY'),
1010
reason="DA_GCP_LABELBOX_API_KEY not found")
1111
def test_default_integration():
1212
"""
@@ -28,7 +28,7 @@ def test_default_integration():
2828
ds.delete()
2929

3030

31-
@pytest.mark.skipif(os.environ.get("DA_GCP_LABELBOX_API_KEY") == "",
31+
@pytest.mark.skipif(not os.environ.get("DA_GCP_LABELBOX_API_KEY"),
3232
reason="DA_GCP_LABELBOX_API_KEY not found")
3333
def test_non_default_integration():
3434
"""

0 commit comments

Comments
 (0)