python.pkgs.amqp: run tests
This commit is contained in:
parent
f10148ea96
commit
1d80180682
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, pytest, case, vine, pytest-sugar }:
|
{ stdenv, buildPythonPackage, fetchPypi, pytestCheckHook, case, vine }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "amqp";
|
pname = "amqp";
|
||||||
@ -9,11 +9,12 @@ buildPythonPackage rec {
|
|||||||
sha256 = "24dbaff8ce4f30566bb88976b398e8c4e77637171af3af6f1b9650f48890e60b";
|
sha256 = "24dbaff8ce4f30566bb88976b398e8c4e77637171af3af6f1b9650f48890e60b";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ pytest case pytest-sugar ];
|
|
||||||
propagatedBuildInputs = [ vine ];
|
propagatedBuildInputs = [ vine ];
|
||||||
|
|
||||||
# Disable because pytest-sugar requires an old version of pytest
|
checkInputs = [ pytestCheckHook case ];
|
||||||
doCheck = false;
|
disabledTests = [
|
||||||
|
"test_rmq.py" # requires network access
|
||||||
|
];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "https://github.com/celery/py-amqp";
|
homepage = "https://github.com/celery/py-amqp";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user