oslo.policy/oslo_policy/tests
yatinkarel 6296fce9f8 Fix unit tests to work with stevedore > 2.0.1
stevedore has switched to importlib_metadata[1] and
this breaked unit test as the test relied on internal
implementation of it.

Instead we should switch to mock NamedExtensionManager
that's what called by oslo_policy.

[1] https://review.opendev.org/#/c/739306/

Closes-Bug: #1888208
Change-Id: I993d743c53fa3506ceda3d1f291c12f4635eb60a
2020-07-22 12:14:24 +05:30
..
__init__.py exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
base.py Move _capture_stdout to a common place 2018-08-07 19:49:55 +00:00
test_checks.py Use unittest.mock instead of third party mock 2020-03-31 14:38:48 -05:00
test_external.py Use unittest.mock instead of third party mock 2020-03-31 14:38:48 -05:00
test_fixtures.py External Policy hook should support SSL 2017-09-27 13:08:26 -04:00
test_generator.py Fix unit tests to work with stevedore > 2.0.1 2020-07-22 12:14:24 +05:30
test_opts.py Fix sample config value when set_defaults is used 2019-01-07 18:11:41 +00:00
test_parser.py Cleanup warnings 2020-04-07 15:55:17 +01:00
test_policy.py Reload files in policy_dirs on primary file change 2020-06-08 16:38:51 +03:00
test_shell.py Cleanup warnings 2020-04-07 15:55:17 +01:00
test_sphinxext.py Add unit tests on the sphinxext indent function 2019-07-22 11:46:09 +02:00
test_sphinxpolicygen.py Use unittest.mock instead of third party mock 2020-03-31 14:38:48 -05:00
token_fixture.py Modernize policy checker 2019-10-10 08:38:14 -07:00