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

Method run

tests/test_async.py:192–194  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

190 @tests.util.retry_on_timeout
191 def testResolve(self):
192 async def run():
193 answer = await dns.asyncresolver.resolve("dns.google.", "A")
194 return set([rdata.address for rdata in answer])
195
196 seen = self.async_run(run)
197 self.assertTrue("8.8.8.8" in seen)

Callers 7

async_runMethod · 0.45
async_runMethod · 0.45
async_runMethod · 0.45
async_runMethod · 0.45
async_runMethod · 0.45
async_runMethod · 0.45
async_runMethod · 0.45

Calls 11

async_runMethod · 0.95
resolveMethod · 0.95
timeMethod · 0.80
is_responseMethod · 0.80
resolveMethod · 0.45
resolve_addressMethod · 0.45
canonical_nameMethod · 0.45
from_textMethod · 0.45
make_socketMethod · 0.45
getsocknameMethod · 0.45
sleepMethod · 0.45

Tested by

no test coverage detected