diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2020-11-24 01:03:56 +0100 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2020-11-23 16:29:49 -0800 |
commit | abfd29cace6fbfdc2a13dd4fc3b48db95973d05d (patch) | |
tree | 847b3bd863ec8b27bf9768da08d0d1cf6d3b4bdc /pkgs | |
parent | cde89e3ecf8f8361707c61f6b796f7c497e04f89 (diff) |
pythonPackages.asyncssh: Switch PyTestCheckHook, disable failing tests
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/asyncssh/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/asyncssh/default.nix b/pkgs/development/python-modules/asyncssh/default.nix index bc540b45de47..44b769636ca5 100644 --- a/pkgs/development/python-modules/asyncssh/default.nix +++ b/pkgs/development/python-modules/asyncssh/default.nix @@ -1,7 +1,7 @@ { stdenv, buildPythonPackage, fetchPypi, pythonOlder , cryptography , bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl -, openssl, openssh }: +, openssl, openssh, pytestCheckHook }: buildPythonPackage rec { pname = "asyncssh"; @@ -23,6 +23,11 @@ buildPythonPackage rec { ./fix-sftp-chmod-test-nixos.patch ]; + # Disables windows specific test (specifically the GSSAPI wrapper for Windows) + postPatch = '' + rm tests/sspi_stub.py + ''; + propagatedBuildInputs = [ bcrypt cryptography @@ -36,12 +41,10 @@ buildPythonPackage rec { checkInputs = [ openssh openssl + pytestCheckHook ]; - # Disables windows specific test (specifically the GSSAPI wrapper for Windows) - postPatch = '' - rm tests/sspi_stub.py - ''; + disabledTests = [ "test_expired_root" "test_confirm" ]; meta = with stdenv.lib; { description = "Provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework"; |