pythonPackages.lazr-restfulclient: prepare tests

This commit is contained in:
Sandro Jäckel 2021-02-19 19:15:45 +01:00
parent d0cb896be2
commit f5977d20b3
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -8,6 +8,10 @@
, setuptools , setuptools
, six , six
, wadllib , wadllib
, fixtures
, lazr-uri
, pytestCheckHook
, wsgi-intercept
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -23,7 +27,9 @@ buildPythonPackage rec {
propagatedBuildInputs = [ distro httplib2 oauthlib setuptools six wadllib ]; propagatedBuildInputs = [ distro httplib2 oauthlib setuptools six wadllib ];
doCheck = false; # requires to package lazr.restful, lazr.authentication, and wsgi_intercept # E ModuleNotFoundError: No module named 'lazr.uri'
doCheck = false;
checkInputs = [ fixtures lazr-uri pytestCheckHook wsgi-intercept ];
pythonImportsCheck = [ "lazr.restfulclient" ]; pythonImportsCheck = [ "lazr.restfulclient" ];