pythonPackages.magic-wormhole-mailbox-server: disable python2 tests

unable to load zope.interface module
This commit is contained in:
Jonathan Ringer 2019-12-24 09:34:15 -08:00 committed by Frederik Rietdijk
parent dd2a59047f
commit 482a081339

View File

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi, six, attrs, twisted, pyopenssl, service-identity, autobahn, treq, mock }: { stdenv, buildPythonPackage, fetchPypi, isPy27, six, attrs, twisted, pyopenssl, service-identity, autobahn, treq, mock, pytest }:
buildPythonPackage rec { buildPythonPackage rec {
version = "0.4.1"; version = "0.4.1";
@ -10,10 +10,12 @@ buildPythonPackage rec {
}; };
propagatedBuildInputs = [ six attrs twisted pyopenssl service-identity autobahn ]; propagatedBuildInputs = [ six attrs twisted pyopenssl service-identity autobahn ];
checkInputs = [ treq mock ];
# zope.interface import issue
doCheck = !isPy27;
checkInputs = [ treq mock pytest ];
checkPhase = '' checkPhase = ''
trial wormhole_mailbox_server pytest
''; '';
meta = with stdenv.lib; { meta = with stdenv.lib; {