We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f6aab9 commit 70d63c3Copy full SHA for 70d63c3
tests/integration/test_labeling_frontend.py
@@ -2,17 +2,9 @@
2
3
4
def test_get_labeling_frontends(client):
5
- frontends = list(client.get_labeling_frontends())
6
- assert len(frontends) >= 1, (
7
- 'Projects should have at least one frontend by default.')
8
-
9
- # Test filtering
10
- target_frontend = frontends[0]
11
- filtered_frontends = client.get_labeling_frontends(
12
- where=LabelingFrontend.iframe_url_path ==
13
- target_frontend.iframe_url_path)
14
- for frontend in filtered_frontends:
15
- assert target_frontend == frontend
+ filtered_frontends = list(client.get_labeling_frontends(
+ where=LabelingFrontend.name == 'Editor'))
+ assert len(filtered_frontends)
16
17
18
def test_labeling_frontend_connecting_to_project(project):
0 commit comments