mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Update a unit test to match my new thinking about port state changes.
This commit is contained in:
parent
f2782f3e4e
commit
989117eb54
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue