| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 666624a commit 74839c7
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,3 @@ | |||
| 1 | 1 | docker: | |
| 2 | 2 | image: gcr.io/repo-automation-bots/owlbot-python:latest | |
| 3 | - digest: sha256:df50e8d462f86d6bcb42f27ecad55bb12c404f1c65de9c6fe4c4d25120080bd6 | ||
| 3 | + digest: sha256:99d90d097e4a4710cc8658ee0b5b963f4426d0e424819787c3ac1405c9a26719 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -68,14 +68,12 @@ Using ``nox`` | |||
| 68 | 68 | We use `nox <https://nox.readthedocs.io/en/latest/>`__ to instrument our tests. | |
| 69 | 69 | ||
| 70 | 70 | - To test your changes, run unit tests with ``nox``:: | |
| 71 | + $ nox -s unit | ||
| 71 | 72 | ||
| 72 | - $ nox -s unit-3.8 | ||
| 73 | - $ ... | ||
| 73 | + - To run a single unit test:: | ||
| 74 | 74 | ||
| 75 | - - Args to pytest can be passed through the nox command separated by a `--`. For | ||
| 76 | - example, to run a single test:: | ||
| 75 | + $ nox -s unit-3.9 -- -k <name of test> | ||
| 77 | 76 | ||
| 78 | - $ nox -s unit-3.8 -- -k <name of test> | ||
| 79 | 77 | ||
| 80 | 78 | .. note:: | |
| 81 | 79 | ||
@@ -142,7 +140,7 @@ Running System Tests | |||
| 142 | 140 | - To run system tests, you can execute:: | |
| 143 | 141 | ||
| 144 | 142 | # Run all system tests | |
| 145 | - $ nox -s system-3.8 | ||
| 143 | + $ nox -s system | ||
| 146 | 144 | ||
| 147 | 145 | # Run a single system test | |
| 148 | 146 | $ nox -s system-3.8 -- -k <name of test> | |
@@ -215,8 +213,8 @@ Supported versions can be found in our ``noxfile.py`` `config`_. | |||
| 215 | 213 | .. _config: https://github.com/googleapis/python-artifact-registry/blob/master/noxfile.py | |
| 216 | 214 | ||
| 217 | 215 | ||
| 218 | - We also explicitly decided to support Python 3 beginning with version | ||
| 219 | - 3.6. Reasons for this include: | ||
| 216 | + We also explicitly decided to support Python 3 beginning with version 3.6. | ||
| 217 | + Reasons for this include: | ||
| 220 | 218 | ||
| 221 | 219 | - Encouraging use of newest versions of Python 3 | |
| 222 | 220 | - Taking the lead of `prominent`_ open-source `projects`_ | |
| Back | FazBrowse Home | New Git URL |
0 commit comments