openstack-python-openstackc.../openstackclient/tests
Tang Chen 809239ca1e Map server power state num to meanful string
In _prep_server_detail(), power_state is not formatted
by _format_servers_list_power_state(). So when executing
"server show" or "server create", the power state is
represented by number. This patch map the numbers to
meanful strings.

This patch also adds power_state attribute to FakeServer,
and improves unit tests for this attribute.

Change-Id: I2ec674327de4e5133b8712ba6bb53fa5ce55e3f4
2016-05-07 14:54:44 +08:00
..
api when fetching object store properties use lower() 2015-12-14 12:23:44 -05:00
common Support quota show for current project 2016-04-21 11:33:24 -05:00
compute Map server power state num to meanful string 2016-05-07 14:54:44 +08:00
identity Trivial: Reorder classes in identity v3 in alphabetical order 2016-03-11 10:02:25 +08:00
image Fix mutable default arguments in tests 2016-04-20 11:15:17 +08:00
network Remove unnecessary type conversions in network unit tests 2016-05-06 03:42:27 +00:00
object Fixed a bunch of spacing 2016-02-23 10:38:58 -06:00
volume Merge "Support for volume service list" 2016-04-28 16:13:46 +00:00
__init__.py Remove copyright from empty files 2014-01-20 17:28:13 +04:00
fakes.py Fix mutable default arguments in tests 2016-04-20 11:15:17 +08:00
test_shell.py Rename --profile to --os-profile 2016-04-19 07:50:42 -05:00
utils.py remove py26 workaround in osc 2016-03-08 12:41:17 +00:00