1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

ignore deprecation and resource warnings in certbot-dns-rfc2136, which are inherited from dnspython

This commit is contained in:
Erica Portnoy
2018-11-01 16:39:01 -07:00
parent 1eabb4bae3
commit 6f662fa489

View File

@@ -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):