Skip to content

Commit b763fe6

Browse files
author
Jon Wayne Parrott
committed
Fixing missing test requirements
Change-Id: Ia783d90ae7c2a36acee2ada17a7e92c7fae2b497
1 parent d3bccc1 commit b763fe6

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

nox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ def _session_tests(session, sample):
184184
if os.path.exists(os.path.join(sample, 'requirements.txt')):
185185
session.install('-r', 'requirements.txt')
186186

187-
session.run('pytest', *PYTEST_COMMON_ARGS)
187+
session.run('pytest', *(PYTEST_COMMON_ARGS + session.posargs))
188188

189189

190190
@nox.parametrize('sample', GAE_STANDARD_SAMPLES)

scripts/travis.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if [[ $TRAVIS_SECURE_ENV_VARS == "true" ]]; then
66
source ${TRAVIS_BUILD_DIR}/testing/test-env.sh;
77
export GOOGLE_APPLICATION_CREDENTIALS=${TRAVIS_BUILD_DIR}/testing/service-account.json
88
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";
1010
else
1111
# only run lint on external PRs
1212
echo 'External PR: only running lint.'

testing/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@ pyyaml==3.12
1111
responses==0.5.1
1212
WebTest==2.0.23
1313
webapp2==3.0.0b1
14+
google-api-python-client==1.5.5
15+
google-cloud-core==0.21.0

0 commit comments

Comments
 (0)