placement/placement/tests/unit
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 Add assertions to verify placement-manage error output 2018-11-22 16:33:40 +00:00
handlers Move ensure_consumer to a new placement.handlers.util 2018-11-02 10:30:14 +00:00
objects Refactor: separate limiting GET /a_c results 2018-09-14 16:15:54 -06:00
__init__.py Empty __init__.py files that should be empty 2018-09-04 10:31:26 -05:00
policy_fixture.py oslo_config fixture in policy tests and 'placement' in policy 2018-09-14 13:30:04 -06:00
test_context.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
test_db_api.py Harden placement init under wsgi 2018-11-08 12:49:14 +00:00
test_db_conf.py Test for missing database configuration message 2018-09-14 15:14:29 -06:00
test_deploy.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
test_fault_wrap.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
test_handler.py Use uuidsentinel from oslo.utils 2018-09-05 22:32:56 +00:00
test_microversion.py Remove the import pathing for the old structure 2018-09-04 10:31:24 -05:00
test_policy.py Merge "oslo_config fixture in policy tests and 'placement' in policy" 2018-09-25 21:41:18 +00:00
test_requestlog.py Turn on logging for the request log test 2018-09-04 10:31:28 -05:00
test_util.py Harden placement init under wsgi 2018-11-08 12:49:14 +00:00