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")
|
||||
|
||||
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"
|
||||
|
||||
# IMPORTANT :
|
||||
|
||||
Reference in New Issue
Block a user