Skip to content

Commit b4b21f7

Browse files
* refactor: remove tests
1 parent 804340e commit b4b21f7

File tree

2 files changed

+0
-25
lines changed

2 files changed

+0
-25
lines changed

libs/labelbox/tests/data/annotation_types/test_collection.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ def create_data_rows(self, args):
4646
def wait_till_done(self):
4747
pass
4848

49-
def export_data_rows(self):
50-
for export in self.exports:
51-
yield export
52-
5349

5450
def test_generator(list_of_labels):
5551
generator = LabelGenerator([list_of_labels[0]])

libs/labelbox/tests/integration/test_batch.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -201,27 +201,6 @@ def test_batch_creation_with_processing_timeout(
201201
project._wait_processing_max_seconds = stashed_wait_timeout
202202

203203

204-
@pytest.mark.export_v1("export_v1 test remove later")
205-
def test_export_data_rows(project: Project, dataset: Dataset, image_url: str,
206-
external_id: str):
207-
n_data_rows = 2
208-
task = dataset.create_data_rows([
209-
{
210-
"row_data": image_url,
211-
"external_id": external_id
212-
},
213-
] * n_data_rows)
214-
task.wait_till_done()
215-
216-
data_rows = [dr.uid for dr in list(dataset.export_data_rows())]
217-
batch = project.create_batch("batch test", data_rows)
218-
result = list(batch.export_data_rows())
219-
exported_data_rows = [dr.uid for dr in result]
220-
221-
assert len(result) == n_data_rows
222-
assert set(data_rows) == set(exported_data_rows)
223-
224-
225204
def test_list_all_batches(project: Project, client, image_url: str):
226205
"""
227206
Test to verify that we can retrieve all available batches in the project.

0 commit comments

Comments
 (0)