Skip to content

Commit 1d80180

Browse files
dotlambdaJon
authored andcommitted
python.pkgs.amqp: run tests
1 parent f10148e commit 1d80180

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pkgs/development/python-modules/amqp/default.nix

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }:
1+
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }:
22

33
buildPythonPackage 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";

0 commit comments

Comments
 (0)