Skip to content

Commit 85f8680

Browse files
author
roxanne-o
committed
Merge branch 'fix-delete-test' of https://github.com/groundlight/python-sdk into fix-delete-test
2 parents 6782f3e + 5a5dd64 commit 85f8680

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/test_groundlight.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ def test_delete_detector(gl: Groundlight):
882882
gl.get_detector(detector.id)
883883
err = exc_info.value
884884
assert err.status == HTTPStatus.GONE
885-
payload = json.loads(err.body)
885+
payload = json.loads(err.body)
886886
assert det_id in payload.get("message", "")
887887

888888
# Create another detector to test deletion by ID string and that an attached image query is deleted
@@ -900,7 +900,7 @@ def test_delete_detector(gl: Groundlight):
900900
gl.get_detector(detector2.id)
901901
err = exc_info.value
902902
assert err.status == HTTPStatus.GONE
903-
payload = json.loads(err.body)
903+
payload = json.loads(err.body)
904904
assert det_id in payload.get("message", "")
905905

906906
# Verify the image query is also deleted

0 commit comments

Comments
 (0)