mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-10-18 01:38:11 +00:00
More tests cleanup
This commit is contained in:
1 parent
858be00f22
commit
17bdc3a134
1 file changed
+3
-1
@@ -75,7 +75,9 @@ class Test(unittest.TestCase):
|
||||
file = "samples/extract_report/nice-input.xml"
|
||||
print("Testing {0}: ".format(file), end="")
|
||||
xmlout = parsedmarc.extract_report(file)
|
||||
xmlin = open("samples/extract_report/nice-input.xml").read()
|
||||
xmlin_file = open("samples/extract_report/nice-input.xml")
|
||||
xmlin = xmlin_file.read()
|
||||
xmlin_file.close()
|
||||
self.assertTrue(compare_xml(xmlout, xmlin))
|
||||
print("Passed!")
|
||||
|
||||
|
||||
Reference in new issue
Block a user