1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

python.pkgs.amqp: run tests

This commit is contained in:
Robert Schütz 2020-07-07 15:04:48 +02:00 committed by Jon
parent f10148ea96
commit 1d80180682

View file

@ -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";