15
0
Files
python-checkdmarc/skip-network-tests.patch
Matej Cepl 40fda6a8de - Update to version 5.10.6
* Fix BIMI certificate validation error generation.
  * Add support for the avp bimi tag.
- Update to version 5.10.5
  * Switch from DNS over UDP to DNS over TCP for DNSSEC and TLSA
    queries.
- Update to version 5.9.3
  * Clarify warnings for DMARC p=none and sp=none.
  * Use a different warning if DMARC pct is set to 0.
  * Add location to the JSON output for BIMI.
- Update to version 5.9.1
  * Fix BIMI record parsing error introduced in 5.9.0.
- Update to version 5.9.0
  Bug fixes:
  * Remove zero-width characters from domain inputs.
  * Add a warning when the DMARC record p or sp value is none.
  * Evaluate DMARC when checking BIMI.
  * Do lot show a BIMI certificate warning when the l tag is set
    to "".
  * Include warnings if a domain is using BIMI, but does not have
    an enforced DMARC policy.
  New features:
  * Parsed SPF record details are now provided even if it uses
    too many DNS lookups.
  API changes:
  * Require keyword arguments to be passed as keyword=value pairs
    instead of positional arguments.
  * Add the option ignore_too_many_lookups to
    checkdmarc.spf.parse_spf_record()
    + This option will stop checkdmarc.spf.parse_spf_record() from

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-checkdmarc?expand=0&rev=19
2025-09-12 21:39:25 +00:00

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"""