Skip to content

Commit 07165cd

Browse files
authored
Closes #4319 - shorten test names (#4321)
* Closes #4319 - shorten test names * #4319 update docs and config files
1 parent dad4308 commit 07165cd

File tree

1 file changed

+4
-4
lines changed
  • packages/google-cloud-videointelligence

1 file changed

+4
-4
lines changed

packages/google-cloud-videointelligence/nox.py

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

1919

2020
@nox.session
21-
@nox.parametrize('python_version', ['2.7', '3.4', '3.5', '3.6'])
22-
def unit_tests(session, python_version):
21+
@nox.parametrize('py', ['2.7', '3.4', '3.5', '3.6'])
22+
def unit(session, py):
2323
"""Run the unit test suite."""
2424

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

2828
# Set the virtualenv dirname.
29-
session.virtualenv_dirname = 'unit-' + python_version
29+
session.virtualenv_dirname = 'unit-' + py
3030

3131
# Install all test dependencies, then install this package in-place.
3232
session.install('mock', 'pytest', 'pytest-cov')

0 commit comments

Comments
 (0)