From 94a74e9cfda22ca9edd2cbb569ad47d7dacbd0c7 Mon Sep 17 00:00:00 2001 From: Andris Raugulis Date: Mon, 13 Feb 2017 13:33:50 +0200 Subject: [PATCH] Reviewed libssh-0.7.4 changes. --- test/test_software.py | 8 ++++---- test/test_version_compare.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/test/test_software.py b/test/test_software.py index 141ffec..4785041 100644 --- a/test/test_software.py +++ b/test/test_software.py @@ -168,17 +168,17 @@ class TestSoftware(object): assert s.display(True) == str(s) assert s.display(False) == str(s) assert repr(s) == '' - s = ps('SSH-2.0-libssh-0.7.3') + s = ps('SSH-2.0-libssh-0.7.4') assert s.vendor is None assert s.product == 'libssh' - assert s.version == '0.7.3' + assert s.version == '0.7.4' assert s.patch is None assert s.os is None - assert str(s) == 'libssh 0.7.3' + assert str(s) == 'libssh 0.7.4' assert str(s) == s.display() assert s.display(True) == str(s) assert s.display(False) == str(s) - assert repr(s) == '' + assert repr(s) == '' def test_romsshell_software(self): ps = lambda x: self.ssh.Software.parse(self.ssh.Banner.parse(x)) # noqa diff --git a/test/test_version_compare.py b/test/test_version_compare.py index d3f8554..b5c4a1f 100644 --- a/test/test_version_compare.py +++ b/test/test_version_compare.py @@ -200,7 +200,7 @@ class TestVersionCompare(object): versions.append('0.5.{0}'.format(i)) for i in range(0, 6): versions.append('0.6.{0}'.format(i)) - for i in range(0, 4): + for i in range(0, 5): versions.append('0.7.{0}'.format(i)) l = len(versions) for i in range(l):