yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #15579
[Bug 1306016] Re: tox does not pass args to run_tests.sh
** Changed in: horizon
Status: Fix Committed => Fix Released
--
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/1306016
Title:
tox does not pass args to run_tests.sh
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
When testing with tox we currently cannot test a specific file like
described here http://nose.readthedocs.org/en/latest/usage.html
#selecting-tests.
So, if we want to test a specific portion of code with tox it will run
all the tests. Adding {posargs} to every target which run nose will
allow us to pass arguments to nose and use all of its features just by
using -- at the end of tox call.
Ex: tox -epy27dj14 --
openstack_dashboard.dashboards.admin.aggregates.tests
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1306016/+subscriptions
References