summaryrefslogtreecommitdiff
path: root/openstackclient/tests/test_shell.py
diff options
context:
space:
mode:
authorTang Chen <tangchen@cn.fujitsu.com>2015-12-09 11:20:34 +0800
committerTang Chen <tangchen@cn.fujitsu.com>2015-12-20 11:33:46 +0800
commit17f3685a83d29f33f79c0626eceefae029c2aaf5 (patch)
tree0114576ec1721a1644672654cc03a0f0b649bccb /openstackclient/tests/test_shell.py
parentb4660fec7dc1e1df53268e45e905d63f558cc383 (diff)
downloadpython-openstackclient-17f3685a83d29f33f79c0626eceefae029c2aaf5.tar.gz
TestServerGeneral: Add test for _prep_server_detail()
1. Make TestServerGeneral inherit from TestServer because we need to use servers_mock, image_mock and flavor_mock in compute_client. 2. Create a dict containing all info of a server in the original format, and pass it to _prep_server_detail(). 3. Compare the original and formatted dict. Change-Id: Ie0b83c42a5c3bbba630a064d28374d07e2ce9caf Implements: blueprint osc-unit-test-framework-improvement
Diffstat (limited to 'openstackclient/tests/test_shell.py')
0 files changed, 0 insertions, 0 deletions