summaryrefslogtreecommitdiff
path: root/heatclient/common/utils.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Unit tests for pretty table special formatters.Steve Baker2013-07-041-3/+13
| | | | Change-Id: If07b4a5fc0c4ae2eecf486433134864270757945
* Fix all but H302 hacking rules.Angus Salkeld2013-06-271-3/+1
| | | | Change-Id: Iac329617428b851df42579d5bd0b299d2f6e2c0a
* Fixes text split for parametersSulochan Acharya2013-05-311-1/+5
| | | | | | | | | | Make text split only on the first "=" element, this will allow for values to have multiple "=" in the string. Also, ensure that key = value pair is honored in parameters, exit otherwise with error message. Tests included. Fixes bug #1183842 Change-Id: Ic8897405c61dee49f5927b53f055b0d0686eea7d
* Cleaned up code in anticipation of flake8.Monty Taylor2013-05-181-2/+0
| | | | Change-Id: Id710edb1a82110653e783fed13cd589cab75f38a
* Restore compatibility with PrettyTable < 0.7.2Dirk Mueller2013-04-291-2/+4
| | | | | | | | PrettyTable 0.7.2 defaults to print a table even if the resultset is empty. Restore previous behavior to be in line with older prettytable releases. Change-Id: Iaa9e1cf5444c8daa229aad53e3a3c15038a7d57e
* Don't use human readable heading labels in tablesSteve Baker2013-03-271-1/+2
| | | | | | | This is in line with what other OS clients do. Fixes: bug #1160689 Change-Id: Icbf053bd93ecdbeeb2ea791c32199225803d09be
* Support name or id for stack operations.Steve Baker2012-11-131-0/+12
| | | | | | | | | | Includes the followig changes: - move format_parameters to common/utils.py - Separate columns for ID and Name in list pretty print table - Accept ID or Name for all operations - Fix from radaz to correctly respond to redirects Change-Id: Ie2d7c03f682d43454cb1348188fa56ad001e1bb1
* pep8 and more testsSteve Baker2012-10-271-1/+1
|
* Allow sort column to be specifiedSteve Baker2012-10-251-2/+2
|
* Allow pretty_dict to take optional formattersSteve Baker2012-10-251-2/+7
|
* Allow labels to be specified separately from field keysSteve Baker2012-10-231-20/+4
|
* Mock at the json request level instead of the http connection level. Test ↵Steve Baker2012-10-161-1/+0
| | | | create.
* Initial importSteve Baker2012-10-101-0/+134