File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -126,17 +126,15 @@ def testDNSSEC(self):
126126 """Test known good DNSSEC"""
127127 self .assertEqual (checkdmarc .dnssec .test_dnssec ("fbi.gov" ), True )
128128
129- # TODO: Figure out ehy this passes on my system, but fails on GitHub Workflows
130129 @unittest .skipUnless (os .path .exists ("/etc/resolv.conf" ), "no network" )
131130 def testIncludeMissingSPF (self ):
132131 """A warning is included for SPF records that include domains that are missing SPF records"""
133132
134133 spf_record = "v=spf1 include:example.doesnotexist ~all"
135134 domain = "example.com"
136135 results = checkdmarc .spf .parse_spf_record (spf_record , domain )
137- print (results )
138136 self .assertTrue (
139- "example.local : The domain does not exist." in results ["warnings" ]
137+ "example.doesnotexist : The domain does not exist." in results ["warnings" ]
140138 )
141139
142140 @unittest .skipUnless (os .path .exists ("/etc/resolv.conf" ), "no network" )
You can’t perform that action at this time.
0 commit comments