yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #52471
[Bug 1593537] [NEW] Unable to run a subset of tests using tox
Public bug reported:
If I try to run a subset of tests using tox, such as:
tox -v -e py27 -- openstack_dashboard.test.api_tests.network_tests
I get an error from the manage.py command complaining about unrecognized
arguments:
usage: manage.py test [-h] [--version] [-v {0,1,2,3}] [--settings SETTINGS]
[--pythonpath PYTHONPATH] [--traceback] [--no-color]
[--noinput] [--failfast] [--testrunner TESTRUNNER]
[--liveserver LIVESERVER] [-t TOP_LEVEL]
[--pattern PATTERN] [-k] [-r] [--debug-sql] [-p] [-q]
[-c FILES] [-w WHERE] [--py3where PY3WHERE] [-m REGEX]
[--tests NAMES] [-l DEBUG] [--debug-log FILE]
[--logging-config FILE] [-I REGEX] [-e REGEX] [-i REGEX]
[-x] [-P] [--exe] [--noexe] [--traverse-namespace]
[--first-package-wins] [--no-byte-compile]
[--with-fixture-bundling] [--with-html-output]
[--html-out-file FILE] [--with-openstack]
[--openstack-red OPENSTACK_RED]
[--openstack-yellow OPENSTACK_YELLOW]
[--openstack-show-elapsed] [--openstack-color]
[--openstack-nocolor]
[--openstack-num-slow OPENSTACK_NUM_SLOW]
[--openstack-stdout] [--with-noseexclude]
[--exclude-dir EXCLUDE_DIRS]
[--exclude-dir-file EXCLUDE_DIR_FILE]
[--exclude-test EXCLUDE_TESTS]
[--exclude-test-file EXCLUDE_TEST_FILE]
[--with-xcoverage] [--xcoverage-file FILE]
[--xcoverage-to-stdout XCOVERAGE_TO_STDOUT] [-a ATTR]
[-A EXPR] [-s] [--nologcapture]
[--logging-format FORMAT] [--logging-datefmt FORMAT]
[--logging-filter FILTER] [--logging-clear-handlers]
[--logging-level LOGCAPTURE_LEVEL] [--with-coverage]
[--cover-package PACKAGE] [--cover-erase]
[--cover-tests]
[--cover-min-percentage COVER_MIN_PERCENTAGE]
[--cover-inclusive] [--cover-html]
[--cover-html-dir DIR] [--cover-branches] [--cover-xml]
[--cover-xml-file FILE] [--pdb] [--pdb-failures]
[--pdb-errors] [--no-deprecated] [--with-doctest]
[--doctest-tests] [--doctest-extension EXT]
[--doctest-result-variable VAR]
[--doctest-fixtures SUFFIX] [--doctest-options OPTIONS]
[--with-isolation] [-d] [--with-profile]
[--profile-sort SORT] [--profile-stats-file FILE]
[--profile-restrict RESTRICT] [--no-skip] [--with-id]
[--id-file FILE] [--failed] [--processes NUM]
[--process-timeout SECONDS] [--process-restartworker]
[--with-xunit] [--xunit-file FILE]
[--xunit-testsuite-name PACKAGE] [--all-modules]
[--collect-only]
[test_label [test_label ...]]
manage.py test: error: unrecognized arguments: openstack_dashboard.test.api_tests.network_tests
** Affects: horizon
Importance: Undecided
Assignee: Richard Jones (r1chardj0n3s)
Status: In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1593537
Title:
Unable to run a subset of tests using tox
Status in OpenStack Dashboard (Horizon):
In Progress
Bug description:
If I try to run a subset of tests using tox, such as:
tox -v -e py27 -- openstack_dashboard.test.api_tests.network_tests
I get an error from the manage.py command complaining about
unrecognized arguments:
usage: manage.py test [-h] [--version] [-v {0,1,2,3}] [--settings SETTINGS]
[--pythonpath PYTHONPATH] [--traceback] [--no-color]
[--noinput] [--failfast] [--testrunner TESTRUNNER]
[--liveserver LIVESERVER] [-t TOP_LEVEL]
[--pattern PATTERN] [-k] [-r] [--debug-sql] [-p] [-q]
[-c FILES] [-w WHERE] [--py3where PY3WHERE] [-m REGEX]
[--tests NAMES] [-l DEBUG] [--debug-log FILE]
[--logging-config FILE] [-I REGEX] [-e REGEX] [-i REGEX]
[-x] [-P] [--exe] [--noexe] [--traverse-namespace]
[--first-package-wins] [--no-byte-compile]
[--with-fixture-bundling] [--with-html-output]
[--html-out-file FILE] [--with-openstack]
[--openstack-red OPENSTACK_RED]
[--openstack-yellow OPENSTACK_YELLOW]
[--openstack-show-elapsed] [--openstack-color]
[--openstack-nocolor]
[--openstack-num-slow OPENSTACK_NUM_SLOW]
[--openstack-stdout] [--with-noseexclude]
[--exclude-dir EXCLUDE_DIRS]
[--exclude-dir-file EXCLUDE_DIR_FILE]
[--exclude-test EXCLUDE_TESTS]
[--exclude-test-file EXCLUDE_TEST_FILE]
[--with-xcoverage] [--xcoverage-file FILE]
[--xcoverage-to-stdout XCOVERAGE_TO_STDOUT] [-a ATTR]
[-A EXPR] [-s] [--nologcapture]
[--logging-format FORMAT] [--logging-datefmt FORMAT]
[--logging-filter FILTER] [--logging-clear-handlers]
[--logging-level LOGCAPTURE_LEVEL] [--with-coverage]
[--cover-package PACKAGE] [--cover-erase]
[--cover-tests]
[--cover-min-percentage COVER_MIN_PERCENTAGE]
[--cover-inclusive] [--cover-html]
[--cover-html-dir DIR] [--cover-branches] [--cover-xml]
[--cover-xml-file FILE] [--pdb] [--pdb-failures]
[--pdb-errors] [--no-deprecated] [--with-doctest]
[--doctest-tests] [--doctest-extension EXT]
[--doctest-result-variable VAR]
[--doctest-fixtures SUFFIX] [--doctest-options OPTIONS]
[--with-isolation] [-d] [--with-profile]
[--profile-sort SORT] [--profile-stats-file FILE]
[--profile-restrict RESTRICT] [--no-skip] [--with-id]
[--id-file FILE] [--failed] [--processes NUM]
[--process-timeout SECONDS] [--process-restartworker]
[--with-xunit] [--xunit-file FILE]
[--xunit-testsuite-name PACKAGE] [--all-modules]
[--collect-only]
[test_label [test_label ...]]
manage.py test: error: unrecognized arguments: openstack_dashboard.test.api_tests.network_tests
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1593537/+subscriptions
Follow ups