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:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user