Commit d84e0108 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.mock-ssh-server: disable tests

Tests are terminated as they reach the max. timeout. They work
locally but not on Hydra.
parent a309e2c8
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
@@ -2,8 +2,6 @@
, buildPythonPackage
, fetchFromGitHub
, paramiko
, pkgs
, pytestCheckHook
, pythonOlder
}:

@@ -25,20 +23,13 @@ buildPythonPackage rec {
    paramiko
  ];

  nativeCheckInputs = [
    pytestCheckHook
    pkgs.openssh
  ];
  # Tests are running into a timeout on Hydra, they work locally
  doCheck = false;

  pythonImportsCheck = [
    "mockssh"
  ];

  disabledTests = [
    # ValueError: Invalid file descriptor: -1
    "test_ssh_session"
  ];

  meta = with lib; {
    description = "Python mock SSH server for testing purposes";
    homepage = "https://github.com/carletes/mock-ssh-server";