Skip to content

Commit 1645e6e

Browse files
author
Matt Sokoloff
committed
Resolve conflicts
1 parent 51abb63 commit 1645e6e

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

tests/integration/test_label.py

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -31,31 +31,14 @@ def test_labels(label_pack):
3131
assert list(data_row.labels()) == []
3232

3333

34-
<<<<<<< HEAD
34+
3535
def test_label_export(configured_project_with_label):
3636
project = configured_project_with_label
37-
=======
38-
def test_label_export(client, label_pack):
39-
project, dataset, data_row, label = label_pack
40-
#Project has to be setup for export to be possible
41-
editor = list(
42-
client.get_labeling_frontends(
43-
where=LabelingFrontend.name == "editor"))[0]
44-
empty_ontology = {"tools": [], "classifications": []}
45-
project.setup(editor, empty_ontology)
46-
project.create_label(data_row=data_row, label="export_label")
47-
>>>>>>> 3a804592e59222b0aeaf3e9d8d58755be81a32f7
4837
exported_labels_url = project.export_labels()
4938
assert exported_labels_url is not None
5039
exported_labels = requests.get(exported_labels_url)
5140
labels = [example['Label'] for example in exported_labels.json()]
52-
<<<<<<< HEAD
5341
assert labels[0]['objects'][0]['value'] == 'test-bbox-class'
54-
=======
55-
#assert 'export_label' in labels
56-
# TODO: Add test for bulk export back.
57-
# The new exporter doesn't work with the create_label mutation
58-
>>>>>>> 3a804592e59222b0aeaf3e9d8d58755be81a32f7
5942

6043

6144
def test_label_update(label_pack):

0 commit comments

Comments
 (0)