python3Packages.google-cloud-*: migrate to disabledTestPaths

This commit is contained in:
Fabian Affolter
2021-06-21 09:09:46 +02:00
parent 3838df3ec8
commit 926450c6e3
7 changed files with 94 additions and 25 deletions
@@ -24,9 +24,18 @@ buildPythonPackage rec {
--replace 'google-cloud-logging>=1.14.0, <2.4' 'google-cloud-logging>=1.14.0'
'';
propagatedBuildInputs = [ google-cloud-logging libcst proto-plus ];
propagatedBuildInputs = [
google-cloud-logging
libcst
proto-plus
];
checkInputs = [ google-cloud-testutils mock pytestCheckHook pytest-asyncio ];
checkInputs = [
google-cloud-testutils
mock
pytestCheckHook
pytest-asyncio
];
disabledTests = [
# require credentials
@@ -34,8 +43,8 @@ buildPythonPackage rec {
"test_report_exception"
];
# prevent google directory from shadowing google imports
preCheck = ''
# prevent google directory from shadowing google imports
rm -r google
'';