Commit 33722a40 by Thomas Gambier

Fix DNS resolution test randomness by using domain

parent ed0ae681
......@@ -37,13 +37,11 @@ DNS_EXPECTED_LIST = ["", ""]
class TestDNSBench(unittest.TestCase):
def test_dnsbench_ok(self):
""" Test dns resolution, this test may fail if
not ran from Europe.
# Update domain later.
Test dns resolution
info = dnsbench.resolve(
self.assertEqual(info[0], 'DNS')
self.assertEqual(info[1], '')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment