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

Method async_run

tests/test_async.py:187–188  ·  view source on GitHub ↗
(self, afunc)

Source from the content-addressed store, hash-verified

185 self.backend = dns.asyncbackend.set_default_backend("asyncio")
186
187 def async_run(self, afunc):
188 return asyncio.run(afunc())
189
190 @tests.util.retry_on_timeout
191 def testResolve(self):

Callers 15

testResolveMethod · 0.95
testResolveAddressMethod · 0.95
testResolveNameMethod · 0.95
testZoneForName1Method · 0.95
testZoneForName2Method · 0.95
testZoneForName3Method · 0.95
badMethod · 0.95
testQueryUDPMethod · 0.95

Calls 1

runMethod · 0.45

Tested by

no test coverage detected