Public bug reported:

If you try to run individual test using tox then it runs entire test
suit.

Steps to reproduce:
Run below command,

tox -e py27
glance.tests.unit.test_auth.TestKeystoneAuthPlugin.test_get_plugin_from_strategy_keystone

or

tox -e py35
glance.tests.unit.test_auth.TestKeystoneAuthPlugin.test_get_plugin_from_strategy_keystone

Instead of running single unit test it runs entire test suit.

Workaround:

Workaround so far is to mention -- -n while running single test like
below;

tox -e py27 -- -n
glance.tests.unit.test_auth.TestKeystoneAuthPlugin.test_get_plugin_from_strategy_keystone

** Affects: glance
     Importance: Undecided
     Assignee: Abhishek Kekane (abhishek-kekane)
         Status: New

** Changed in: glance
     Assignee: (unassigned) => Abhishek Kekane (abhishek-kekane)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1719269

Title:
  Unable to run individual test

Status in Glance:
  New

Bug description:
  If you try to run individual test using tox then it runs entire test
  suit.

  Steps to reproduce:
  Run below command,

  tox -e py27
  
glance.tests.unit.test_auth.TestKeystoneAuthPlugin.test_get_plugin_from_strategy_keystone

  or

  tox -e py35
  
glance.tests.unit.test_auth.TestKeystoneAuthPlugin.test_get_plugin_from_strategy_keystone

  Instead of running single unit test it runs entire test suit.

  Workaround:

  Workaround so far is to mention -- -n while running single test like
  below;

  tox -e py27 -- -n
  
glance.tests.unit.test_auth.TestKeystoneAuthPlugin.test_get_plugin_from_strategy_keystone

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1719269/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to