Skip to content

Commit 6d00943

Browse files
authored
Changes the default detector for tests to raise queries to labelers (#73)
1 parent 3f770f8 commit 6d00943

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integration/test_groundlight.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ def fixture_detector(gl: Groundlight) -> Detector:
4444
"""Creates a new Test detector."""
4545
name = f"Test {datetime.utcnow()}" # Need a unique name
4646
query = "Is there a dog?"
47-
return gl.create_detector(name=name, query=query)
47+
pipeline_config = "never-review"
48+
return gl.create_detector(name=name, query=query, pipeline_config=pipeline_config)
4849

4950

5051
@pytest.fixture(name="image_query")

0 commit comments

Comments
 (0)