Skip to content

Commit bd10c5f

Browse files
authored
Closes #4319 - shorten test names (#4321)
* Closes #4319 - shorten test names * #4319 update docs and config files
1 parent 84ded6d commit bd10c5f

File tree

1 file changed

+4
-4
lines changed
  • packages/google-cloud-resource-manager

1 file changed

+4
-4
lines changed

packages/google-cloud-resource-manager/nox.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626

2727

2828
@nox.session
29-
@nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6'])
30-
def unit_tests(session, python_version):
29+
@nox.parametrize('py', ['2.7', '3.4', '3.5', '3.6'])
30+
def unit(session, py):
3131
"""Run the unit test suite."""
3232

3333
# Run unit tests against all supported versions of Python.
34-
session.interpreter = 'python{}'.format(python_version)
34+
session.interpreter = 'python{}'.format(py)
3535

3636
# Set the virtualenv dirname.
37-
session.virtualenv_dirname = 'unit-' + python_version
37+
session.virtualenv_dirname = 'unit-' + py
3838

3939
# Install all test dependencies, then install this package in-place.
4040
session.install('mock', 'pytest', 'pytest-cov', *LOCAL_DEPS)

0 commit comments

Comments
 (0)