Skip to content

Commit 5761062

Browse files
committed
test(discovery): test for status code for delete operation
1 parent b1fb44a commit 5761062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/test_discovery_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ def test_stopword_operations():
12381238
assert responses.calls[0].response.json() == {"status": "pending", "type": "stopwords"}
12391239

12401240
discovery.delete_stopword_list('envid', 'colid')
1241-
assert responses.calls[1].response.content is ''
1241+
assert responses.calls[1].response.status_code == 200
12421242

12431243
assert len(responses.calls) == 2
12441244

0 commit comments

Comments
 (0)