From 62f508164c8a8113cb1b03fe8adef38a5f3d9651 Mon Sep 17 00:00:00 2001
From: fmonthel <fmonthel@flox-arts.net>
Date: Sat, 10 Feb 2018 15:44:43 -0500
Subject: [PATCH] Update IP for test

---
 test_gandi_ddns.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test_gandi_ddns.py b/test_gandi_ddns.py
index 7832280..d8235a8 100644
--- a/test_gandi_ddns.py
+++ b/test_gandi_ddns.py
@@ -1,5 +1,5 @@
 import gandi_ddns as script
-import socket
+import requests
 
 def test_get_ip():
-    assert script.get_ip() == socket.gethostbyname(socket.gethostname())
\ No newline at end of file
+    assert script.get_ip() == requests.get("http://ipecho.net/plain?").text
\ No newline at end of file
-- 
GitLab