1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 17:39:03 +00:00

Fix Ndiff unit test failure code found by Daniel Miller.

I guess this means the test was passing.
This commit is contained in:
david
2011-04-28 22:14:54 +00:00
parent 726abfe39c
commit 9a65f4e010

View File

@@ -643,7 +643,7 @@ class scan_diff_xml_test(unittest.TestCase):
try:
document = xml.dom.minidom.parseString(self.xml)
except Exception, e:
fail(u"Parsing XML diff output caused the exception: %s" % str(e))
self.fail(u"Parsing XML diff output caused the exception: %s" % str(e))
def scan_apply_diff(scan, diff):
"""Apply a scan diff to the given scan."""