forked from pool/python-checkdmarc
- Update to version 5.8.1 * Fix incomplete fix for issue #159 - Update to version 5.8.0 * Support ra=, rp= and rr= tags from RFC 6652. * Do not use static answer positions when checking DNSSEC and TLSA. - Update patch: * skip-network-tests.patch OBS-URL: https://build.opensuse.org/request/show/1250144 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-checkdmarc?expand=0&rev=11
13 lines
483 B
Diff
13 lines
483 B
Diff
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"""
|