mirror of
https://github.com/jtesta/ssh-audit.git
synced 2026-10-27 11:31:29 +01:00
Fixed tests.
This commit is contained in:
1 parent
1bdf7029b4
commit
c6b8dc97e1
11 files changed
+46
-10
No files matched your search
+2
-2
@@ -147,7 +147,7 @@ class TestSSH2:
|
||||
self.audit(out, self._conf())
|
||||
out.write()
|
||||
lines = output_spy.flush()
|
||||
assert len(lines) == 70
|
||||
assert len(lines) == 74
|
||||
|
||||
def test_ssh2_server_invalid_first_packet(self, output_spy, virtual_socket):
|
||||
vsocket = virtual_socket
|
||||
@@ -161,5 +161,5 @@ class TestSSH2:
|
||||
out.write()
|
||||
assert ret != 0
|
||||
lines = output_spy.flush()
|
||||
assert len(lines) == 5
|
||||
assert len(lines) == 9
|
||||
assert 'unknown message' in lines[-1]
|
||||
Reference in new issue
Block a user