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

Method testCanonicalNameDangling

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

Source from the content-addressed store, hash-verified

277 )
278 @tests.util.retry_on_timeout
279 def testCanonicalNameDangling(self):
280 name = dns.name.from_text("dangling-cname.dnspython.org")
281 cname = dns.name.from_text("dangling-target.dnspython.org")
282
283 async def run():
284 return await dns.asyncresolver.canonical_name(name)
285
286 self.assertEqual(self.async_run(run), cname)
287
288 @tests.util.retry_on_timeout
289 def testZoneForName1(self):

Callers

nothing calls this directly

Calls 2

async_runMethod · 0.95
from_textMethod · 0.45

Tested by

no test coverage detected