python3Packages.sseclient: fix tests

This commit is contained in:
Jonathan Ringer 2020-06-12 13:49:40 -07:00
parent be5804ac9e
commit 529c2f192e

View File

@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi
, requests, six
, backports_unittest-mock, pytest, pytestrunner }:
, backports_unittest-mock, pytestCheckHook, pytestrunner }:
buildPythonPackage rec {
pname = "sseclient";
@ -13,7 +13,10 @@ buildPythonPackage rec {
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; {
description = "Client library for reading Server Sent Event streams";