summaryrefslogtreecommitdiff
path: root/tests/unit/test_shell.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove quantumclient and proxy to neutronclient2.2.4.1Mark McClain2013-09-251-173/+0
| | | | Change-Id: I95a351071e68dfc2d67f3895c87f45ad2221767f
* Allow the HTTPClient consumer to pass endpoint_type.Carl Baldwin2013-05-211-0/+28
| | | | | | | | | | | | | | | | | | | | | Changes the default behavior of the client. It will now choose publicURL by default rather than adminURL. Now allows the consumer to pass adminURL, internalURL or some other endpoint type when constructing a Client to override this default behavior. Adds --endpoint-type option to the shell client. Defaults to the environment variable OS_ENDPOINT_TYPE or publicURL. This was patterned after the same option in the Nova client. Adds a new exception type to handle the case where a suitable endpoint type is not found in the catalog. Without this, the exception encountered is a KeyError that was not clearly reported to the caller of the quantum command line. Change-Id: Iaffcaff291d433a605d8379dc89c1308096d36c2 Fixes: Bug #1176197
* Fix xml request doesn't work with unicodeHe Jie Xu2013-04-071-0/+16
| | | | | | | | | | | | | | | | | | Fix bug 1160704 * httplib2 doesn't work with unicode url and params. So encode all unicode to utf-8 before request. * Fix xml serializer doesn't work with unicode * Decode command argument to unicode in main function * Exception's message maybe include unicode, decode message to unicode before logging or print. * Sync the changing of serializer/deserilizer's code with quantum server code https://review.openstack.org/#/c/25482/ https://review.openstack.org/#/c/25046/ https://review.openstack.org/#/c/21410/ * Enable xml test Change-Id: Ib140e34d54cc916e2ea172e4bad9e4a77388723a
* Move tests to project rootAlessio Ababilov2013-04-011-0/+129
Implements: blueprint tests-in-root Change-Id: I6a1dbc59720abcaafb6fd9b8585f3f6065dcde92