Private GIT

Skip to content
Snippets Groups Projects
Commit 62f50816 authored by fmonthel's avatar fmonthel
Browse files

Update IP for test

parent 8d070b06
Branches
No related tags found
No related merge requests found
import gandi_ddns as script import gandi_ddns as script
import socket import requests
def test_get_ip(): def test_get_ip():
assert script.get_ip() == socket.gethostbyname(socket.gethostname()) assert script.get_ip() == requests.get("http://ipecho.net/plain?").text
\ No newline at end of file \ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment