MCPcopy Create free account
hub / github.com/rthalley/dnspython / testZoneForName3

Method testZoneForName3

tests/test_async.py:309–316  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

307
308 @tests.util.retry_on_timeout
309 def testZoneForName3(self):
310 async def run():
311 name = dns.name.from_text("dnspython.org.")
312 return await dns.asyncresolver.zone_for_name(name)
313
314 ezname = dns.name.from_text("dnspython.org.")
315 zname = self.async_run(run)
316 self.assertEqual(zname, ezname)
317
318 def testZoneForName4(self):
319 def bad():

Callers

nothing calls this directly

Calls 2

async_runMethod · 0.95
from_textMethod · 0.45

Tested by

no test coverage detected