This commit is contained in:
@@ -104,7 +104,7 @@ def test_send_to_api_posts_expected_payload(monkeypatch):
|
|||||||
|
|
||||||
registrator.send_to_api("my-host", "8.8.8.8")
|
registrator.send_to_api("my-host", "8.8.8.8")
|
||||||
|
|
||||||
assert captured["url"] == "http://api.sdsat.fr:8000/registrator"
|
assert captured["url"] == "http://api.test-sdsat.fr:8000/registrator"
|
||||||
assert captured["json"]["host"] == "my-host"
|
assert captured["json"]["host"] == "my-host"
|
||||||
|
|
||||||
# IMPORTANT :
|
# IMPORTANT :
|
||||||
|
|||||||
Reference in New Issue
Block a user