placement/placement
Chris Dent da20d6101d Add assertions to verify placement-manage error output
The tests for placement-manage, in unit/cmd/test_manage were not
verifying help message output when partial or incorrect commands
were provided. This led to some confusion when trying to verify
a fix related to different behaviors of argparse.

Here, some verification is added. Because of differences between
python 2 and 3, we need to look at stderr and stdout, respectively, to
verify the output.

Change-Id: I337a25cfdc23bc56fbf15f128a94d2b1b1d1b664
Related-Bug: #1804420
2018-11-22 16:33:40 +00:00
..
cmd manage: Do not use set_defaults on parent parsers with py2 2018-11-22 14:55:53 +00:00
conf Fix the error package name in comment 2018-10-30 18:59:45 +08:00
db Adapt placement fixtures for external use 2018-11-20 15:00:58 +00:00
handlers Add missing ws seperator between words 2018-11-19 15:14:19 +08:00
objects Merge "Consider root id is None in the database case" 2018-11-21 04:17:33 +00:00
policies Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
schemas Fix alpha-ordering of imports for pep8 2018-09-04 10:31:28 -05:00
tests Add assertions to verify placement-manage error output 2018-11-22 16:33:40 +00:00
__init__.py Move the placement code to the base 2018-09-04 10:31:23 -05:00
auth.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
context.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
db_api.py Added alembic environment 2018-11-14 15:26:13 +00:00
deploy.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
direct.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
errors.py Move the placement code to the base 2018-09-04 10:31:23 -05:00
exception.py nova.exception -> placement.exception in docstrings and comment 2018-09-15 11:57:10 -06:00
fault_wrap.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
handler.py Fix alpha-ordering of imports for pep8 2018-09-04 10:31:28 -05:00
i18n.py Update i18n handling to be placement oriented. 2018-09-04 10:31:25 -05:00
lib.py Merge "max-complexity=>16: refactor GET /a_c qs parsing" 2018-10-02 11:22:02 +00:00
microversion.py Move the placement code to the base 2018-09-04 10:31:23 -05:00
policy.py oslo_config fixture in policy tests and 'placement' in policy 2018-09-14 13:30:04 -06:00
rc_fields.py Add bandwidth related standard resource classes 2018-11-05 17:56:19 -05:00
requestlog.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
resource_class_cache.py Added alembic environment 2018-11-14 15:26:13 +00:00
rest_api_version_history.rst Refresh maximum version info in rest history doc 2018-09-10 09:57:20 +08:00
util.py Harden placement init under wsgi 2018-11-08 12:49:14 +00:00
wsgi.py wsgi: Always reset conf.CONF when starting the application 2018-09-24 08:59:07 +01:00
wsgi_wrapper.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00