GeezerVison is showing github.com — Fixing missing test requirements · PeterDelis/python-docs-samples@b763fe6
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: nox.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -184,7 +184,7 @@ def _session_tests(session, sample): |
184 | 184 | if os.path.exists(os.path.join(sample, 'requirements.txt')): |
185 | 185 | session.install('-r', 'requirements.txt') |
186 | 186 |
|
187 | | - session.run('pytest', *PYTEST_COMMON_ARGS) |
| 187 | + session.run('pytest', *(PYTEST_COMMON_ARGS + session.posargs)) |
188 | 188 |
|
189 | 189 |
|
190 | 190 | @nox.parametrize('sample', GAE_STANDARD_SAMPLES) |
|
Collapse file
Copy file name to clipboardExpand all lines: scripts/travis.sh +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -6,7 +6,7 @@ if [[ $TRAVIS_SECURE_ENV_VARS == "true" ]]; then |
6 | 6 | source ${TRAVIS_BUILD_DIR}/testing/test-env.sh; |
7 | 7 | export GOOGLE_APPLICATION_CREDENTIALS=${TRAVIS_BUILD_DIR}/testing/service-account.json |
8 | 8 | export GOOGLE_CLIENT_SECRETS=${TRAVIS_BUILD_DIR}/testing/client-secrets.json |
9 | | - nox --stop-on-first-error -s lint gae py35; |
| 9 | + nox --stop-on-first-error -s lint gae py35 -- -m "not slow"; |
10 | 10 | else |
11 | 11 | # only run lint on external PRs |
12 | 12 | echo 'External PR: only running lint.' |
|
Collapse file
Copy file name to clipboardExpand all lines: testing/requirements.txt +2Lines changed: 2 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -11,3 +11,5 @@ pyyaml==3.12 |
11 | 11 | responses==0.5.1 |
12 | 12 | WebTest==2.0.23 |
13 | 13 | webapp2==3.0.0b1 |
| 14 | +google-api-python-client==1.5.5 |
| 15 | +google-cloud-core==0.21.0 |