diff options
| author | Tang Chen <tangchen@cn.fujitsu.com> | 2015-12-09 11:20:34 +0800 |
|---|---|---|
| committer | Tang Chen <tangchen@cn.fujitsu.com> | 2015-12-20 11:33:46 +0800 |
| commit | 17f3685a83d29f33f79c0626eceefae029c2aaf5 (patch) | |
| tree | 0114576ec1721a1644672654cc03a0f0b649bccb /openstackclient/tests/test_shell.py | |
| parent | b4660fec7dc1e1df53268e45e905d63f558cc383 (diff) | |
| download | python-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
