File tree 1 file changed +3
-8
lines changed
synthtool/gcp/templates/python_library
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -73,12 +73,9 @@ Using ``nox``
73
73
We use `nox <https://nox.readthedocs.io/en/latest/ >`__ to instrument our tests.
74
74
75
75
- To test your changes, run unit tests with ``nox ``::
76
- {% for v in unit_test_python_versions %}
77
- $ nox -s unit-{{ v }}
78
- {%- endfor %}
76
+ $ nox -s unit
79
77
80
- - Args to pytest can be passed through the nox command separated by a `-- `. For
81
- example, to run a single test::
78
+ - To run a single unit test::
82
79
83
80
$ nox -s unit-{{ unit_test_python_versions | last }} -- -k <name of test>
84
81
@@ -148,9 +145,7 @@ Running System Tests
148
145
- To run system tests, you can execute::
149
146
150
147
# Run all system tests
151
- {%- for system_test_version in system_test_python_versions %}
152
- $ nox -s system-{{ system_test_version }}
153
- {%- endfor %}
148
+ $ nox -s system
154
149
155
150
# Run a single system test
156
151
$ nox -s system-{{ system_test_python_versions | last}} -- -k <name of test>
You can’t perform that action at this time.
0 commit comments