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

Method testZoneForName2

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

Source from the content-addressed store, hash-verified

297
298 @tests.util.retry_on_timeout
299 def testZoneForName2(self):
300 async def run():
301 name = dns.name.from_text("a.b.www.dnspython.org.")
302 return await dns.asyncresolver.zone_for_name(name)
303
304 ezname = dns.name.from_text("dnspython.org.")
305 zname = self.async_run(run)
306 self.assertEqual(zname, ezname)
307
308 @tests.util.retry_on_timeout
309 def testZoneForName3(self):

Callers

nothing calls this directly

Calls 2

async_runMethod · 0.95
from_textMethod · 0.45

Tested by

no test coverage detected