diff --git a/sdks/python/tox.ini b/sdks/python/tox.ini index f6f8430d48f9..f792bbfcc614 100644 --- a/sdks/python/tox.ini +++ b/sdks/python/tox.ini @@ -54,28 +54,28 @@ commands_post = [testenv:py27] commands = python apache_beam/examples/complete/autocomplete_test.py - python setup.py nosetests --ignore-files '.*py3.py$' + python setup.py nosetests --ignore-files '.*py3.py$' {posargs} [testenv:py35] setenv = RUN_SKIPPED_PY3_TESTS=0 commands = python apache_beam/examples/complete/autocomplete_test.py - python setup.py nosetests + python setup.py nosetests {posargs} [testenv:py36] setenv = RUN_SKIPPED_PY3_TESTS=0 commands = python apache_beam/examples/complete/autocomplete_test.py - python setup.py nosetests + python setup.py nosetests {posargs} [testenv:py37] setenv = RUN_SKIPPED_PY3_TESTS=0 commands = python apache_beam/examples/complete/autocomplete_test.py - python setup.py nosetests + python setup.py nosetests {posargs} [testenv:py27-cython] # cython tests are only expected to work in linux (2.x and 3.x) @@ -85,7 +85,7 @@ commands = platform = linux2 commands = python apache_beam/examples/complete/autocomplete_test.py - python setup.py nosetests --ignore-files '.*py3.py$' + python setup.py nosetests --ignore-files '.*py3.py$' {posargs} [testenv:py35-cython] # cython tests are only expected to work in linux (2.x and 3.x) @@ -97,7 +97,7 @@ setenv = RUN_SKIPPED_PY3_TESTS=0 commands = python apache_beam/examples/complete/autocomplete_test.py - python setup.py nosetests + python setup.py nosetests {posargs} [testenv:py36-cython] # cython tests are only expected to work in linux (2.x and 3.x) @@ -109,7 +109,7 @@ setenv = RUN_SKIPPED_PY3_TESTS=0 commands = python apache_beam/examples/complete/autocomplete_test.py - python setup.py nosetests + python setup.py nosetests {posargs} [testenv:py37-cython] # cython tests are only expected to work in linux (2.x and 3.x) @@ -121,33 +121,33 @@ setenv = RUN_SKIPPED_PY3_TESTS=0 commands = python apache_beam/examples/complete/autocomplete_test.py - python setup.py nosetests + python setup.py nosetests {posargs} [testenv:py27-gcp] extras = test,gcp commands = python apache_beam/examples/complete/autocomplete_test.py - python setup.py nosetests --ignore-files '.*py3.py$' + python setup.py nosetests --ignore-files '.*py3.py$' {posargs} # Old and new Datastore client unit tests cannot be run in the same process # due to conflicting protobuf modules. # TODO(BEAM-4543): Remove these separate nosetests invocations once the # googledatastore dependency is removed. - python setup.py nosetests --tests apache_beam.io.gcp.datastore.v1 - python setup.py nosetests --tests apache_beam.io.gcp.datastore.v1new + python setup.py nosetests {posargs} --tests apache_beam.io.gcp.datastore.v1 + python setup.py nosetests {posargs} --tests apache_beam.io.gcp.datastore.v1new [testenv:py35-gcp] setenv = RUN_SKIPPED_PY3_TESTS=0 extras = test,gcp commands = - python setup.py nosetests + python setup.py nosetests {posargs} [testenv:py37-gcp] setenv = RUN_SKIPPED_PY3_TESTS=0 extras = test,gcp commands = - python setup.py nosetests + python setup.py nosetests {posargs} [testenv:py27-lint] deps =