GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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
Filter options
  • nox.py
  • scripts
    • travis.sh
  • testing
    • requirements.txt
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎nox.py‎

Copy file name to clipboardExpand all lines: nox.py
+1-1Lines 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)
Collapse file

‎scripts/travis.sh‎

Copy file name to clipboardExpand all lines: scripts/travis.sh
+1-1Lines 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.'
Collapse file

‎testing/requirements.txt‎

Copy file name to clipboardExpand all lines: testing/requirements.txt
+2Lines 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 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.