1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 08:29:04 +00:00

Update a unit test to match my new thinking about port state changes.

This commit is contained in:
david
2008-09-19 00:42:53 +00:00
parent f2782f3e4e
commit 989117eb54

View File

@@ -293,7 +293,7 @@ class host_diff_test(unittest.TestCase):
for hunk in diff:
self.assertTrue(hunk.type in self.PORT_DIFF_HUNK_TYPES)
diff = host_diff(b, a)
self.assertTrue(len(diff) == 0)
self.assertTrue(len(diff) > 0)
for hunk in diff:
self.assertTrue(hunk.type in self.PORT_DIFF_HUNK_TYPES)