diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2019-11-06 13:27:15 -0800 |
---|---|---|
committer | Jon <jonringer@users.noreply.github.com> | 2019-11-11 13:13:17 -0800 |
commit | 0dfbff1d4629d51f5d7bcc1ce7517df596fa150a (patch) | |
tree | 6b83362bac4f33d99c9db8e88f23e226b02b4430 /pkgs/development/python-modules/google_cloud_vision | |
parent | 1794b43b0f99950ab5d9e91fb7c7408ce5326a07 (diff) |
python3Packages.google_cloud_vision: fix tests
Diffstat (limited to 'pkgs/development/python-modules/google_cloud_vision')
-rw-r--r-- | pkgs/development/python-modules/google_cloud_vision/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/google_cloud_vision/default.nix b/pkgs/development/python-modules/google_cloud_vision/default.nix index a8d748db126da..10c8792b9c865 100644 --- a/pkgs/development/python-modules/google_cloud_vision/default.nix +++ b/pkgs/development/python-modules/google_cloud_vision/default.nix @@ -3,7 +3,6 @@ , fetchPypi , enum34 , google_api_core -, pytest , mock }: @@ -16,11 +15,13 @@ buildPythonPackage rec { sha256 = "f33aea6721d453901ded268dee61a01ab77d4cd215a76edc3cc61b6028299d3e"; }; - checkInputs = [ pytest mock ]; + checkInputs = [ mock ]; propagatedBuildInputs = [ enum34 google_api_core ]; + # pytest seems to pick up some file which overrides PYTHONPATH checkPhase = '' - pytest tests/unit + cd tests/unit + python -m unittest discover ''; meta = with stdenv.lib; { |