git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.amqp: run tests
commit1d8018068278a717771e9ec4054dff1ebd3252b0 authorRobert Schütz <dev@schuetz-co.de> dateTue 7 Jul 2020, 15:04 (6 years ago) parentf10148e
1 file changed+5−4
pkgs/development/python-modules/amqp/default.nix+5−4
pkgs/development/python-modules/amqp/default.nix+5−4
@@ -1,4 +1,4 @@
1−{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }:
1+{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }:
22
33buildPythonPackage rec {
44 pname = "amqp";
@@ -9,11 +9,12 @@ buildPythonPackage rec {
99 sha256 = "24dbaff8ce4f30566bb88976b398e8c4e77637171af3af6f1b9650f48890e60b";
1010 };
1111
12− checkInputs = [ pytest case pytest-sugar ];
1312 propagatedBuildInputs = [ vine ];
1413
15− # Disable because pytest-sugar requires an old version of pytest
16− doCheck = false;
14+ checkInputs = [ pytestCheckHook case ];
15+ disabledTests = [
16+ "test_rmq.py" # requires network access
17+ ];
1718
1819 meta = with stdenv.lib; {
1920 homepage = "https://github.com/celery/py-amqp";