Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 1.43 KB

README.md

File metadata and controls

40 lines (27 loc) · 1.43 KB

Google Cloud Platform Python Samples

This repository is holds the samples used in the python documentation on cloud.google.com.

Build Status Coverage Status

For more detailed introduction to a product, check the README in the corresponding folder.

Contributing changes

How to run the test

To run the tests, please install App Engine Python SDK and tox and run tox with the environment variable PYTHONPATH to the App Engine Python SDK.

You can install App Engine Python SDK with Google Cloud SDK with the following command:

$ gcloud components update gae-python

Here is instructions to run the tests with virtualenv, $GCLOUD is your Google Cloud SDK installation path.

$ virtualenv -p python2.7 --no-site-packages /some/where
$ source /some/where/bin/activate
$ pip install tox
$ export PYTHONPATH=${GCLOUD}/platform/google_appengine
$ export GOOGLE_APPLICATION_CREDENTIALS=your-service-account-json-file
$ export TEST_PROJECT_ID={YOUR_PROJECT_ID}
$ export TEST_BUCKET={YOUR_BUCKET_NAME}
$ tox

Licensing