Merge pull request #3 from micw/fix-random-failures

Change test hostnames for stable test results
main
kaiyou 5 years ago committed by Alexander Graf
parent 7f6d51904b
commit b198fde756
No known key found for this signature in database
GPG Key ID: B8A9DC143E075629

@ -0,0 +1 @@
__pycache__/

@ -69,12 +69,12 @@ class TestSystem(unittest.TestCase):
def test_resolve_hostname(self): def test_resolve_hostname(self):
self.assertEqual( self.assertEqual(
system.resolve_hostname("one.one.one.one"), system.resolve_hostname("1.2.3.4.xip.io"),
"1.1.1.1" "1.2.3.4"
) )
def test_resolve_address(self): def test_resolve_address(self):
self.assertEqual( self.assertEqual(
system.resolve_address("one.one.one.one:80"), system.resolve_address("1.2.3.4.xip.io:80"),
"1.1.1.1:80" "1.2.3.4:80"
) )

Loading…
Cancel
Save