summaryrefslogtreecommitdiff
path: root/tests/test_async.py
diff options
context:
space:
mode:
authorBrian Wellington <bwelling@xbill.org>2020-07-08 13:14:14 -0700
committerBrian Wellington <bwelling@xbill.org>2020-07-08 13:14:14 -0700
commitcce293110167a2e8e20fdf6cdf2d15b0b9ca6679 (patch)
tree2cbb1504c4d34b43c6b2c34f144a98cdbe752746 /tests/test_async.py
parent561104fb3445fbd10c3f27857aeb47eeb2b7717c (diff)
downloaddnspython-cce293110167a2e8e20fdf6cdf2d15b0b9ca6679.tar.gz
Don't read resolv.conf in tests that don't use it.
Diffstat (limited to 'tests/test_async.py')
-rw-r--r--tests/test_async.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_async.py b/tests/test_async.py
index 2d387ae..2d25434 100644
--- a/tests/test_async.py
+++ b/tests/test_async.py
@@ -183,7 +183,7 @@ class AsyncTests(unittest.TestCase):
self.assertEqual(answer[0].target, dnsgoogle)
def testResolverBadScheme(self):
- res = dns.asyncresolver.Resolver()
+ res = dns.asyncresolver.Resolver(configure=False)
res.nameservers = ['bogus://dns.google/dns-query']
async def run():
answer = await res.resolve('dns.google', 'A')