Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
testResolve
Method · 0.95
testResolveAddress
Method · 0.95
testResolveName
Method · 0.95
testCanonicalNameNoCNAME
Method · 0.95
testCanonicalNameCNAME
Method · 0.95
testCanonicalNameDangling
Method · 0.95
testZoneForName1
Method · 0.95
testZoneForName2
Method · 0.95
testZoneForName3
Method · 0.95
bad
Method · 0.95
testQueryUDP
Method · 0.95
testQueryUDPWithSocket
Method · 0.95
Calls
1
run
Method · 0.45
Tested by
no test coverage detected