Skip to content
This repository was archived by the owner on May 24, 2023. It is now read-only.

Commit 5a24a3e

Browse files
committed
improve test by validating creation params
1 parent 579e580 commit 5a24a3e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test_ahealthchecks.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,5 @@ def test_create_check_with_creation_options():
7070
endpoint = ahealthchecks.create_check(
7171
"fah", {"channels": ["slack"], "tags": "fooTag"}
7272
)
73-
assert endpoint == "foo"
73+
assert "foo" == endpoint
74+
assert "fooTag" in responses.calls[1].request.body

0 commit comments

Comments
 (0)