Private GIT

Skip to content
Snippets Groups Projects
Commit 95bd2663 authored by DarkGigaByte's avatar DarkGigaByte
Browse files

fixed the test

parent 09495c37
Branches
No related tags found
No related merge requests found
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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment