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

Method testZoneForName1

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

Source from the content-addressed store, hash-verified

287
288 @tests.util.retry_on_timeout
289 def testZoneForName1(self):
290 async def run():
291 name = dns.name.from_text("www.dnspython.org.")
292 return await dns.asyncresolver.zone_for_name(name)
293
294 ezname = dns.name.from_text("dnspython.org.")
295 zname = self.async_run(run)
296 self.assertEqual(zname, ezname)
297
298 @tests.util.retry_on_timeout
299 def testZoneForName2(self):

Callers

nothing calls this directly

Calls 2

async_runMethod · 0.95
from_textMethod · 0.45

Tested by

no test coverage detected