Skip to content

Commit a95a93c

Browse files
authored
Merge pull request #368 from Labelbox/ms/fix-multiple-editor-tests
fix labeling front end tests
2 parents 2edfd8b + 09997d4 commit a95a93c

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

tests/integration/test_project_setup.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@ def simple_ontology():
2424
return {"tools": [], "classifications": classifications}
2525

2626

27-
def test_project_setup(project, iframe_url) -> None:
27+
def test_project_setup(project) -> None:
2828
client = project.client
2929
labeling_frontends = list(
30-
client.get_labeling_frontends(
31-
where=LabelingFrontend.iframe_url_path == iframe_url))
32-
assert len(labeling_frontends) == 1, (
33-
f'Checking for {iframe_url} and received {labeling_frontends}')
30+
client.get_labeling_frontends(where=LabelingFrontend.name == 'Editor'))
31+
assert len(labeling_frontends)
3432
labeling_frontend = labeling_frontends[0]
3533

3634
time.sleep(3)

0 commit comments

Comments
 (0)