ccaaf8cbb9
The pytest migration patch introduced a couple of regression in tools/unit_tests.sh: * We no longer cannot run a specific test explicitly (per python file, per test class, per specific test). Per module like openstack_dashboard, openstack_auth and horizon is the only possible way after the pytest migration. * openstack_dashboard tests outside of openstack_dashboard/test/ are not looked up when a subset is specified. This commit restores the orginal behavior. pytest uses a different way to specify tests. We cannot use the style of python modules like "openstack_auth.tests.unit.test_policy.PolicyLoaderTestCase.test_policy_file_load" and we need to specify tests like file paths [1]. [1] https://docs.pytest.org/en/latest/usage.html#specifying-tests-selecting-tests Closes-Bug: #1875123 Change-Id: Ic4b6c69d8a2ed774cce16521c4c4336f55ff737e |
||
---|---|---|
.. | ||
abandon_old_reviews.sh | ||
executable_files.txt | ||
find_executables.sh | ||
find_settings.py | ||
list-horizon-plugins.py | ||
policy-diff.py | ||
selenium_tests.sh | ||
unit_tests.sh |