Skip to content

Commit 09997d4

Browse files
author
Matt Sokoloff
committed
search by frontend name, not url
1 parent 2edfd8b commit 09997d4

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)