Skip to content

Commit 4eca989

Browse files
author
Val Brodsky
committed
Another fix
1 parent cba504b commit 4eca989

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

libs/labelbox/tests/conftest.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,8 @@ def big_dataset(dataset: Dataset):
733733

734734
@pytest.fixture
735735
def configured_batch_project_with_label(client, dataset, data_row,
736-
wait_for_label_processing):
736+
wait_for_label_processing,
737+
teardown_helpers):
737738
"""Project with a batch having one datarow
738739
Project contains an ontology with 1 bbox tool
739740
Additionally includes a create_label method for any needed extra labels
@@ -756,9 +757,7 @@ def configured_batch_project_with_label(client, dataset, data_row,
756757

757758
yield [project, dataset, data_row, label]
758759

759-
project.client.delete_unused_ontology(ontology.uid)
760-
for label in project.labels():
761-
label.delete()
760+
teardown_helpers.teardown_project_labels_ontology_feature_schemas(project)
762761

763762

764763
@pytest.fixture

0 commit comments

Comments
 (0)