oslo.policy/oslo_policy
Doug Hellmann 9aa963fcf0 rewrite HttpCheckFixture to not mock out entire HttpCheck class
The fixture only needs to mock out the __call__ method, and it needs
to use a real function as the replacement so that in the follow-up
patch we can introspect the result to see if we need to pass the rule
argument to it.

Change-Id: I22b0fc6bb3e40b54a24d9d53c9a20731af0064ee
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-09-12 11:06:46 +00:00
..
locale Imported Translations from Zanata 2017-08-24 06:56:43 +00:00
tests Add JSON output option to sample generator 2017-08-29 12:01:46 +02:00
__init__.py exported from oslo-incubator by graduate.sh 2014-12-09 14:40:01 -03:00
_cache_handler.py Add missing parameter description in module _cache_handler 2016-11-02 02:39:38 +00:00
_checks.py Don't crash on RoleCheck when roles not present 2016-01-02 11:59:49 -08:00
_i18n.py Update URLs in documents according to document migration 2017-07-12 23:01:31 +08:00
_parser.py Remove log translations 2017-03-22 14:13:15 +00:00
fixture.py rewrite HttpCheckFixture to not mock out entire HttpCheck class 2017-09-12 11:06:46 +00:00
generator.py Add JSON output option to sample generator 2017-08-29 12:01:46 +02:00
opts.py Doc: declare YAML/JSON support 2016-09-22 17:09:59 +08:00
policy.py Fix parsing bug when config file is empty. 2017-07-12 16:47:38 +08:00
shell.py Remove dead code and use default value of argparse. 2017-01-02 11:21:44 +01:00
sphinxext.py throw an exception when sphinxext cannot find the config file 2017-07-31 16:25:38 +00:00
sphinxpolicygen.py Add sphinx extension to build sample policy 2016-09-28 10:59:14 +01:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:22 -05:00