This repository was archived by the owner on Mar 2, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -232,6 +232,31 @@ Running System Tests
232232
233233 $ python tests/system/utils/clear_datastore.py
234234
235+ - You'll need to create composite
236+ `indexes <https://cloud.google.com/datastore/docs/tools/indexconfig >`__
237+ with the ``gcloud `` command line
238+ `tool <https://developers.google.com/cloud/sdk/gcloud/ >`__::
239+
240+ # Install the app (App Engine Command Line Interface) component.
241+ $ gcloud components install app-engine-python
242+
243+ # Authenticate the gcloud tool with your account.
244+ $ GOOGLE_APPLICATION_CREDENTIALS="path/to/app_credentials.json"
245+ $ gcloud auth activate-service-account > --key-file=${GOOGLE_APPLICATION_CREDENTIALS}
246+
247+ # Create the indexes
248+ $ gcloud datastore indexes create tests/system/index.yaml
249+
250+ - You'll also need stored data in your dataset. To populate this data, run::
251+
252+ $ python tests/system/utils/populate_datastore.py
253+
254+ - If you make a mistake during development (i.e. a failing test that
255+ prevents clean-up) you can clear all system test data from your
256+ datastore instance via::
257+
258+ $ python tests/system/utils/clear_datastore.py
259+
235260*************
236261Test Coverage
237262*************
You can’t perform that action at this time.
0 commit comments