Loading pkgs/development/python-modules/webssh/default.nix +4 −5 Original line number Diff line number Diff line Loading @@ -18,6 +18,10 @@ buildPythonPackage rec { hash = "sha256-mRestRJukaf7ti3vIs/MM/R+zpGmK551j5HAM2chBsE="; }; patches = [ ./remove-typo-in-test-case.patch ]; propagatedBuildInputs = [ paramiko tornado Loading @@ -27,11 +31,6 @@ buildPythonPackage rec { pythonImportsCheck = [ "webssh" ]; disabledTests = [ # Test fails with AttributeError (possibly related to paramiko update) "test_app_with_bad_host_key" ]; meta = with lib; { description = "Web based SSH client"; mainProgram = "wssh"; Loading pkgs/development/python-modules/webssh/remove-typo-in-test-case.patch 0 → 100644 +18 −0 Original line number Diff line number Diff line --- tests/test_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_handler.py b/tests/test_handler.py index a9ad924..950e672 100644 --- a/tests/test_handler.py +++ b/tests/test_handler.py @@ -336,5 +336,5 @@ class TestIndexHandler(unittest.TestCase): ssh.exec_command.return_value = (stdin, stdout, stderr) encoding = IndexHandler.get_default_encoding(handler, ssh) - self.assertEquals("utf-8", encoding) + self.assertEqual("utf-8", encoding) -- 2.44.0 Loading
pkgs/development/python-modules/webssh/default.nix +4 −5 Original line number Diff line number Diff line Loading @@ -18,6 +18,10 @@ buildPythonPackage rec { hash = "sha256-mRestRJukaf7ti3vIs/MM/R+zpGmK551j5HAM2chBsE="; }; patches = [ ./remove-typo-in-test-case.patch ]; propagatedBuildInputs = [ paramiko tornado Loading @@ -27,11 +31,6 @@ buildPythonPackage rec { pythonImportsCheck = [ "webssh" ]; disabledTests = [ # Test fails with AttributeError (possibly related to paramiko update) "test_app_with_bad_host_key" ]; meta = with lib; { description = "Web based SSH client"; mainProgram = "wssh"; Loading
pkgs/development/python-modules/webssh/remove-typo-in-test-case.patch 0 → 100644 +18 −0 Original line number Diff line number Diff line --- tests/test_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_handler.py b/tests/test_handler.py index a9ad924..950e672 100644 --- a/tests/test_handler.py +++ b/tests/test_handler.py @@ -336,5 +336,5 @@ class TestIndexHandler(unittest.TestCase): ssh.exec_command.return_value = (stdin, stdout, stderr) encoding = IndexHandler.get_default_encoding(handler, ssh) - self.assertEquals("utf-8", encoding) + self.assertEqual("utf-8", encoding) -- 2.44.0