We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c9500e commit ca1f005Copy full SHA for ca1f005
tests.py
@@ -513,9 +513,9 @@ def testDMARCbisMissingPTagWarning(self):
513
result = checkdmarc.dmarc.parse_dmarc_record(dmarc_record, domain)
514
self.assertEqual(result["tags"]["p"]["value"], "none")
515
self.assertFalse(result["tags"]["p"]["explicit"])
516
- warning = "A missing p tag is equivalent to p=none in DMARCbis, "
517
- "but a p tag is required in older versions of DMARC."
518
-
+ warning = ("A missing p tag is equivalent to p=none in DMARCbis, "
+ "but a p tag is required in older versions of DMARC.")
+
519
self.assertTrue(
520
any(warning in w for w in result["warnings"])
521
)
0 commit comments