forked from pool/python-checkdmarc
- Update to version 5.8.6
* Ignore unhandled critical extensions for mark certificates. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-checkdmarc?expand=0&rev=15
This commit is contained in:
12
skip-network-tests.patch
Normal file
12
skip-network-tests.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
diff --git a/tests.py b/tests.py
|
||||
index fd22132..b684ecb 100755
|
||||
--- a/tests.py
|
||||
+++ b/tests.py
|
||||
@@ -291,6 +291,7 @@ class Test(unittest.TestCase):
|
||||
"{0} does not have any MX records".format(domain), results["warnings"]
|
||||
)
|
||||
|
||||
+ @unittest.skipUnless(os.path.exists("/etc/resolv.conf"), "no network")
|
||||
def testSPFMissingARecord(self):
|
||||
"""A warning is issued if an SPF record contains a mx mechanism
|
||||
pointing to a domain that has no A records"""
|
||||
Reference in New Issue
Block a user