Lines Matching +full:auth +full:- +full:tests
9 Here are some guidelines for hacking on ``google-auth-library-python``.
12 --------------
14 A few notes on making changes to ``google-auth-library-python``.
16 - If you've added a new feature or modified an existing feature, be sure to
18 documentation (in ``docs/``). You can re-generate the reference documentation
19 using ``nox -s docgen``.
21 - The change must work fully on the following CPython versions:
24 - The codebase *must* have 100% test statement coverage after each commit.
25 You can test coverage via ``nox -e cover``.
28 ---------------
30 To test your changes, run unit tests with ``nox``::
32 $ nox -s unit
35 Running system tests
36 --------------------
38 You can run the system tests with ``nox``::
40 $ nox -f system_tests/noxfile.py
42 To run a single session, specify it with ``nox -s``::
44 $ nox -f system_tests/noxfile.py -s service_account
50 -------------------------------
54 To run system tests locally, you will need to set up a data directory ::
72 …$ gcloud auth application-default login --scopes=https://www.googleapis.com/auth/userinfo.email,ht…
95 - App Engine Admin (for App Engine tests)
96 - Service Account Token Creator (for impersonated credentials and workload identity federation test…
97 - Pub/Sub Viewer (for gRPC tests)
98 - Storage Object Viewer (for impersonated credentials tests)
99 - DNS Viewer (for workload identity federation tests)
100 - GCE Storage Bucket Admin (for downscoping tests)
109 …ging Service Account Keys: https://cloud.google.com/iam/docs/creating-managing-service-account-keys
114 In order to run the workload identity federation tests, you will need to set up
124 App Engine System Tests
127 To run the App Engine tests, you wil need to deploy a default App Engine service.
130 Edit ``app.yaml`` so ``service`` is ``default`` instead of ``google-auth-system-tests``.
133 $ pip install --target lib -r requirements.txt
134 $ gcloud app deploy -q app.yaml
136 After the app is deployed, change ``service`` in ``app.yaml`` back to ``google-auth-system-tests``.
137 You can now run the App Engine tests: ::
139 $ nox -f system_tests/noxfile.py -s app_engine
141 Compute Engine Tests argument
144 These tests cannot be run locally and will be skipped if they are run outside of Google Compute Eng…
146 grpc Tests argument
149 These tests use the Pub/Sub API. Grant the service account specified by `GOOGLE_APPLICATION_CREDENT…
153 ------------
156 ``pylintrc`` for package code and ``pylintrc.tests`` for test code. Use
157 ``nox`` to check for non-compliant code::
159 $ nox -s lint
162 ------------------------------------------------------
171 $ nox -s docs
176 ----------
187 ------------------------------
191 - **If you are an individual writing original source code** and **you own the intellectual property…
192 - **If you work for a company that wants to allow you to contribute your work**, then you'll need t…