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