From 95bd266300b297161e91751f35ef78c7c4907056 Mon Sep 17 00:00:00 2001 From: DarkGigaByte <darkgigabyte@googlemail.com> Date: Fri, 14 Aug 2020 22:39:29 +0200 Subject: [PATCH] fixed the test --- test_gandi_ddns.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_gandi_ddns.py b/test_gandi_ddns.py index d8235a8..e60ce81 100644 --- a/test_gandi_ddns.py +++ b/test_gandi_ddns.py @@ -1,5 +1,6 @@ import gandi_ddns as script import requests + def test_get_ip(): - assert script.get_ip() == requests.get("http://ipecho.net/plain?").text \ No newline at end of file + assert script.get_ip("https://api.ipify.org", 3) == requests.get("http://ipecho.net/plain?").text -- GitLab