File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ def test_raises_error_for_duplicate():
332
332
def test_dataset_export_autotag_tagged_items (CLIENT ):
333
333
# This test can only run for the test user who has an indexed dataset.
334
334
# TODO: if/when we can create autotags via api, create one instead.
335
- if NUCLEUS_PYTEST_USER_ID in CLIENT . api_key :
335
+ if NUCLEUS_PYTEST_USER_ID in os . environ [ "NUCLEUS_PYTEST_USER_ID" ] :
336
336
dataset = CLIENT .get_dataset (DATASET_WITH_AUTOTAG )
337
337
338
338
with pytest .raises (NucleusAPIError ) as api_error :
@@ -362,7 +362,7 @@ def test_dataset_export_autotag_tagged_items(CLIENT):
362
362
def test_dataset_export_autotag_training_items (CLIENT ):
363
363
# This test can only run for the test user who has an indexed dataset.
364
364
# TODO: if/when we can create autotags via api, create one instead.
365
- if NUCLEUS_PYTEST_USER_ID in CLIENT . api_key :
365
+ if NUCLEUS_PYTEST_USER_ID in os . environ [ "NUCLEUS_PYTEST_USER_ID" ] :
366
366
dataset = CLIENT .get_dataset (DATASET_WITH_AUTOTAG )
367
367
368
368
with pytest .raises (NucleusAPIError ) as api_error :
You can’t perform that action at this time.
0 commit comments