MCPcopy
hub / github.com/jtesta/ssh-audit / test_unknown_software

Method test_unknown_software

test/test_software.py:14–18  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12 self.banner = Banner
13
14 def test_unknown_software(self):
15 ps = lambda x: self.software.parse(self.banner.parse(x)) # noqa
16 assert ps('SSH-1.5') is None
17 assert ps('SSH-1.99-AlfaMegaServer') is None
18 assert ps('SSH-2.0-BetaMegaServer 0.0.1') is None
19
20 def test_openssh_software(self):
21 # pylint: disable=too-many-statements

Callers

nothing calls this directly

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected