diff --git a/pkgs/development/python-modules/google_cloud_speech/default.nix b/pkgs/development/python-modules/google_cloud_speech/default.nix index 6a8aefa92c4..3054f618784 100644 --- a/pkgs/development/python-modules/google_cloud_speech/default.nix +++ b/pkgs/development/python-modules/google_cloud_speech/default.nix @@ -13,8 +13,9 @@ buildPythonPackage rec { propagatedBuildInputs = [ google_api_core ]; checkInputs = [ pytest mock ]; - # needs credentials - doCheck = false; + checkPhase = '' + pytest tests/unit + ''; meta = with stdenv.lib; { description = "Cloud Speech API enables integration of Google speech recognition into applications.";