diff --git a/core/base/libs/socrate/.gitignore b/core/base/libs/socrate/.gitignore new file mode 100644 index 00000000..c18dd8d8 --- /dev/null +++ b/core/base/libs/socrate/.gitignore @@ -0,0 +1 @@ +__pycache__/ diff --git a/core/base/libs/socrate/test.py b/core/base/libs/socrate/test.py index efdcb343..b9b36d5f 100644 --- a/core/base/libs/socrate/test.py +++ b/core/base/libs/socrate/test.py @@ -69,12 +69,12 @@ class TestSystem(unittest.TestCase): def test_resolve_hostname(self): self.assertEqual( - system.resolve_hostname("one.one.one.one"), - "1.1.1.1" + system.resolve_hostname("1.2.3.4.xip.io"), + "1.2.3.4" ) def test_resolve_address(self): self.assertEqual( - system.resolve_address("one.one.one.one:80"), - "1.1.1.1:80" + system.resolve_address("1.2.3.4.xip.io:80"), + "1.2.3.4:80" )