python3Packages.sseclient: fix tests
This commit is contained in:
parent
be5804ac9e
commit
529c2f192e
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
, requests, six
|
, requests, six
|
||||||
, backports_unittest-mock, pytest, pytestrunner }:
|
, backports_unittest-mock, pytestCheckHook, pytestrunner }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "sseclient";
|
pname = "sseclient";
|
||||||
@ -13,7 +13,10 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
propagatedBuildInputs = [ requests six ];
|
propagatedBuildInputs = [ requests six ];
|
||||||
|
|
||||||
checkInputs = [ backports_unittest-mock pytest pytestrunner ];
|
checkInputs = [ backports_unittest-mock pytestCheckHook pytestrunner ];
|
||||||
|
|
||||||
|
# tries to open connection to wikipedia
|
||||||
|
disabledTests = [ "event_stream" ];
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Client library for reading Server Sent Event streams";
|
description = "Client library for reading Server Sent Event streams";
|
||||||
|
Loading…
Reference in New Issue
Block a user