Skip to content

Commit

Permalink
remove tests for other methods
Browse files Browse the repository at this point in the history
  • Loading branch information
CoreyEWood committed Nov 11, 2024
1 parent 76a9d0a commit 8a4e534
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions test/integration/test_groundlight.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,24 +333,6 @@ def test_submit_image_query_with_id(gl: Groundlight, detector: Detector):
assert _image_query.metadata is not None
assert _image_query.metadata.get("is_from_edge")

# ask_confident
id = f"iq_{KsuidMs()}"
_image_query = gl.ask_confident(detector=detector.id, image="test/assets/dog.jpeg", wait=10, image_query_id=id)
assert isinstance(_image_query, ImageQuery)
assert _image_query.id == id

# ask_ml
id = f"iq_{KsuidMs()}"
_image_query = gl.ask_ml(detector=detector.id, image="test/assets/dog.jpeg", wait=10, image_query_id=id)
assert isinstance(_image_query, ImageQuery)
assert _image_query.id == id

# ask_async
id = f"iq_{KsuidMs()}"
_image_query = gl.ask_async(detector=detector.id, image="test/assets/dog.jpeg", image_query_id=id)
assert isinstance(_image_query, ImageQuery)
assert _image_query.id == id


def test_submit_image_query_with_invalid_id(gl: Groundlight, detector: Detector):
# Invalid ID format
Expand Down

0 comments on commit 8a4e534

Please sign in to comment.