We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65028a9 commit 55157cdCopy full SHA for 55157cd
1 file changed
test/integration/test_groundlight.py
@@ -877,7 +877,7 @@ def test_delete_detector(gl: Groundlight):
877
gl.delete_detector(detector)
878
879
# Verify the detector is actually deleted
880
- with pytest.raises(ApiException) as exc_info:
+ with pytest.raises(ApiException):
881
gl.get_detector(detector.id)
882
883
# Create another detector to test deletion by ID string and that an attached image query is deleted
@@ -891,7 +891,7 @@ def test_delete_detector(gl: Groundlight):
891
gl.delete_detector(detector2.id)
892
893
# Verify the second detector is also deleted
894
895
gl.get_detector(detector2.id)
896
897
# Verify the image query is also deleted
0 commit comments