From 8d070b0605cb5412aa1ab8249ce00e726210dc68 Mon Sep 17 00:00:00 2001 From: fmonthel <fmonthel@flox-arts.net> Date: Sat, 10 Feb 2018 15:41:39 -0500 Subject: [PATCH] Update IP for 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 65dd5d0..7832280 100644 --- a/test_gandi_ddns.py +++ b/test_gandi_ddns.py @@ -1,4 +1,5 @@ import gandi_ddns as script +import socket def test_get_ip(): - assert script.get_ip() == 'test-toto' \ No newline at end of file + assert script.get_ip() == socket.gethostbyname(socket.gethostname()) \ No newline at end of file -- GitLab