diff options
author | Robert Schütz <dev@schuetz-co.de> | 2020-07-07 15:04:48 +0200 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2020-07-07 13:01:38 -0700 |
commit | 1d8018068278a717771e9ec4054dff1ebd3252b0 (patch) | |
tree | 80024c7157cf6ae8f61aefd836ea899a58a1a905 /pkgs/development/python-modules/amqp | |
parent | f10148ea9610c404cfad59e0ea5ea4d1becf088c (diff) |
python.pkgs.amqp: run tests
Diffstat (limited to 'pkgs/development/python-modules/amqp')
-rw-r--r-- | pkgs/development/python-modules/amqp/default.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/amqp/default.nix b/pkgs/development/python-modules/amqp/default.nix index 20dc0d3971226..f9b1e62caa38c 100644 --- a/pkgs/development/python-modules/amqp/default.nix +++ b/pkgs/development/python-modules/amqp/default.nix @@ -1,4 +1,4 @@ -{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }: +{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }: buildPythonPackage rec { pname = "amqp"; @@ -9,11 +9,12 @@ buildPythonPackage rec { sha256 = "24dbaff8ce4f30566bb88976b398e8c4e77637171af3af6f1b9650f48890e60b"; }; - checkInputs = [ pytest case pytest-sugar ]; propagatedBuildInputs = [ vine ]; - # Disable because pytest-sugar requires an old version of pytest - doCheck = false; + checkInputs = [ pytestCheckHook case ]; + disabledTests = [ + "test_rmq.py" # requires network access + ]; meta = with stdenv.lib; { homepage = "https://github.com/celery/py-amqp"; |