From 6f662fa489dd48548cde5ec739bddf19720dd8d2 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Thu, 1 Nov 2018 16:39:01 -0700 Subject: [PATCH] ignore deprecation and resource warnings in certbot-dns-rfc2136, which are inherited from dnspython --- certbot-dns-rfc2136/certbot_dns_rfc2136/dns_rfc2136_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/certbot-dns-rfc2136/certbot_dns_rfc2136/dns_rfc2136_test.py b/certbot-dns-rfc2136/certbot_dns_rfc2136/dns_rfc2136_test.py index 89ce3d93e..9d3a0fbfd 100644 --- a/certbot-dns-rfc2136/certbot_dns_rfc2136/dns_rfc2136_test.py +++ b/certbot-dns-rfc2136/certbot_dns_rfc2136/dns_rfc2136_test.py @@ -7,6 +7,7 @@ import dns.flags import dns.rcode import dns.tsig import mock +import pytest from certbot import errors from certbot.plugins import dns_test_common @@ -70,6 +71,7 @@ class AuthenticatorTest(test_util.TempDirTestCase, dns_test_common.BaseAuthentic self.auth.perform([self.achall]) +@pytest.mark.filterwarnings("ignore::ResourceWarning", "ignore:decodestring:DeprecationWarning") class RFC2136ClientTest(unittest.TestCase): def setUp(self):