]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
add missing skip marks
authorBob Halley <halley@dnspython.org>
Mon, 10 Oct 2022 01:00:19 +0000 (18:00 -0700)
committerBob Halley <halley@dnspython.org>
Mon, 10 Oct 2022 01:00:19 +0000 (18:00 -0700)
tests/test_doq.py

index 571581a4523f152f49a21cfb69cf112dbcab7c38..254b578ed2f8cbfbecb11914272ea3990b9bb80c 100644 (file)
@@ -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: