13 lines
433 B
Diff
13 lines
433 B
Diff
|
diff --git a/tests.py b/tests.py
|
||
|
index 9cfda48..cdaf4fe 100755
|
||
|
--- a/tests.py
|
||
|
+++ b/tests.py
|
||
|
@@ -296,6 +296,7 @@ class Test(unittest.TestCase):
|
||
|
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"""
|