Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Commit 200d08f

Browse files
authored
Remove replacement in owlbot.py
1 parent c107ab4 commit 200d08f

2 files changed

Lines changed: 0 additions & 142 deletions

File tree

CONTRIBUTING.rst

Lines changed: 0 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -157,106 +157,6 @@ Running System Tests
157157

158158
- System tests will be run against an actual project. You should use local credentials from gcloud when possible. See `Best practices for application authentication <https://cloud.google.com/docs/authentication/best-practices-applications#local_development_and_testing_with_the>`__. Some tests require a service account. For those tests see `Authenticating as a service account <https://cloud.google.com/docs/authentication/production>`__.
159159

160-
- You'll need to create composite
161-
`indexes <https://cloud.google.com/datastore/docs/tools/indexconfig>`__
162-
with the ``gcloud`` command line
163-
`tool <https://developers.google.com/cloud/sdk/gcloud/>`__::
164-
165-
# Install the app (App Engine Command Line Interface) component.
166-
$ gcloud components install app-engine-python
167-
168-
# Authenticate the gcloud tool with your account.
169-
$ GOOGLE_APPLICATION_CREDENTIALS="path/to/app_credentials.json"
170-
$ gcloud auth activate-service-account > --key-file=${GOOGLE_APPLICATION_CREDENTIALS}
171-
172-
# Create the indexes
173-
$ gcloud datastore indexes create tests/system/index.yaml
174-
175-
- You'll also need stored data in your dataset. To populate this data, run::
176-
177-
$ python tests/system/utils/populate_datastore.py
178-
179-
- If you make a mistake during development (i.e. a failing test that
180-
prevents clean-up) you can clear all system test data from your
181-
datastore instance via::
182-
183-
$ python tests/system/utils/clear_datastore.py
184-
185-
- You'll need to create composite
186-
`indexes <https://cloud.google.com/datastore/docs/tools/indexconfig>`__
187-
with the ``gcloud`` command line
188-
`tool <https://developers.google.com/cloud/sdk/gcloud/>`__::
189-
190-
# Install the app (App Engine Command Line Interface) component.
191-
$ gcloud components install app-engine-python
192-
193-
# Authenticate the gcloud tool with your account.
194-
$ GOOGLE_APPLICATION_CREDENTIALS="path/to/app_credentials.json"
195-
$ gcloud auth activate-service-account > --key-file=${GOOGLE_APPLICATION_CREDENTIALS}
196-
197-
# Create the indexes
198-
$ gcloud datastore indexes create tests/system/index.yaml
199-
200-
- You'll also need stored data in your dataset. To populate this data, run::
201-
202-
$ python tests/system/utils/populate_datastore.py
203-
204-
- If you make a mistake during development (i.e. a failing test that
205-
prevents clean-up) you can clear all system test data from your
206-
datastore instance via::
207-
208-
$ python tests/system/utils/clear_datastore.py
209-
210-
- You'll need to create composite
211-
`indexes <https://cloud.google.com/datastore/docs/tools/indexconfig>`__
212-
with the ``gcloud`` command line
213-
`tool <https://developers.google.com/cloud/sdk/gcloud/>`__::
214-
215-
# Install the app (App Engine Command Line Interface) component.
216-
$ gcloud components install app-engine-python
217-
218-
# Authenticate the gcloud tool with your account.
219-
$ GOOGLE_APPLICATION_CREDENTIALS="path/to/app_credentials.json"
220-
$ gcloud auth activate-service-account > --key-file=${GOOGLE_APPLICATION_CREDENTIALS}
221-
222-
# Create the indexes
223-
$ gcloud datastore indexes create tests/system/index.yaml
224-
225-
- You'll also need stored data in your dataset. To populate this data, run::
226-
227-
$ python tests/system/utils/populate_datastore.py
228-
229-
- If you make a mistake during development (i.e. a failing test that
230-
prevents clean-up) you can clear all system test data from your
231-
datastore instance via::
232-
233-
$ python tests/system/utils/clear_datastore.py
234-
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-
260160
- You'll need to create composite
261161
`indexes <https://cloud.google.com/datastore/docs/tools/indexconfig>`__
262162
with the ``gcloud`` command line

owlbot.py

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -211,48 +211,6 @@ def docfx(session):
211211
r"Dict[str, str]",
212212
)
213213

214-
# Add documentation about creating indexes and populating data for system
215-
# tests.
216-
assert 1 == s.replace(
217-
"CONTRIBUTING.rst",
218-
r"""
219-
\*\*\*\*\*\*\*\*\*\*\*\*\*
220-
Test Coverage
221-
\*\*\*\*\*\*\*\*\*\*\*\*\*
222-
""",
223-
"""
224-
- You'll need to create composite
225-
`indexes <https://cloud.google.com/datastore/docs/tools/indexconfig>`__
226-
with the ``gcloud`` command line
227-
`tool <https://developers.google.com/cloud/sdk/gcloud/>`__::
228-
229-
# Install the app (App Engine Command Line Interface) component.
230-
$ gcloud components install app-engine-python
231-
232-
# Authenticate the gcloud tool with your account.
233-
$ GOOGLE_APPLICATION_CREDENTIALS="path/to/app_credentials.json"
234-
$ gcloud auth activate-service-account \
235-
> --key-file=${GOOGLE_APPLICATION_CREDENTIALS}
236-
237-
# Create the indexes
238-
$ gcloud datastore indexes create tests/system/index.yaml
239-
240-
- You'll also need stored data in your dataset. To populate this data, run::
241-
242-
$ python tests/system/utils/populate_datastore.py
243-
244-
- If you make a mistake during development (i.e. a failing test that
245-
prevents clean-up) you can clear all system test data from your
246-
datastore instance via::
247-
248-
$ python tests/system/utils/clear_datastore.py
249-
250-
*************
251-
Test Coverage
252-
*************
253-
""",
254-
)
255-
256214
# add type checker nox session
257215
s.replace(
258216
"noxfile.py",

0 commit comments

Comments
 (0)