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

Function test_basic_sync

tests/test_doq.py:40–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38
39@pytest.mark.skipif(not have_quic, reason="requires aioquic")
40def test_basic_sync():
41 q = dns.message.make_query("www.example.", "A")
42 for address in addresses:
43 with Server(address=address) as server:
44 port = server.doq_address[1]
45 r = dns.query.quic(q, address, port=port, verify=here("tls/ca.crt"))
46 assert r.rcode() == dns.rcode.REFUSED
47
48
49async def amain(address, port):

Callers

nothing calls this directly

Calls 3

hereFunction · 0.85
rcodeMethod · 0.80
ServerClass · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…