← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1875123] [NEW] Cannot run a specific test after pytest migration

 

Public bug reported:

After pytest migration, we cannot run a specific test explicitly.

Previously we can use

  tox -e py37 -- openstack_auth.test.unit.test_policy

to run only tests under openstack_auth/test/unit/test_policy.py.

After the pytest migration, tools/unit_test.sh only honors the module name like openstack_dashboard, horizon, openstack_auth.
This is a regression during the pytest migration.

** Affects: horizon
     Importance: Medium
         Status: New

** Changed in: horizon
   Importance: Undecided => Medium

-- 
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/1875123

Title:
  Cannot run a specific test after pytest migration

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  After pytest migration, we cannot run a specific test explicitly.

  Previously we can use

    tox -e py37 -- openstack_auth.test.unit.test_policy

  to run only tests under openstack_auth/test/unit/test_policy.py.

  After the pytest migration, tools/unit_test.sh only honors the module name like openstack_dashboard, horizon, openstack_auth.
  This is a regression during the pytest migration.

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


Follow ups