summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2022-10-09 18:00:19 -0700
committerBob Halley <halley@dnspython.org>2022-10-09 18:00:19 -0700
commit4b67651eb5b7917803a5df450fafa42fc9e45391 (patch)
tree283773ad947ddc9f5c4f2e065edab5d4037efe0e
parent948d5a6a2b3eb08647acaf2a67df92e9bcc2979a (diff)
downloaddnspython-4b67651eb5b7917803a5df450fafa42fc9e45391.tar.gz
add missing skip marks
-rw-r--r--tests/test_doq.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_doq.py b/tests/test_doq.py
index 571581a..254b578 100644
--- a/tests/test_doq.py
+++ b/tests/test_doq.py
@@ -38,6 +38,7 @@ async def amain():
assert r.rcode() == dns.rcode.REFUSED
+@pytest.mark.skipif(not _nanoquic_available, reason="requires nanoquic")
def test_basic_asyncio():
dns.asyncbackend.set_default_backend("asyncio")
with Server() as server:
@@ -47,6 +48,7 @@ def test_basic_asyncio():
try:
import trio
+ @pytest.mark.skipif(not _nanoquic_available, reason="requires nanoquic")
def test_basic_trio():
dns.asyncbackend.set_default_backend("trio")
with Server() as server: