Comment 0 for bug 1381091

Revision history for this message
Malini Kamalambal (malini-pk) wrote : Create flavor accepts empty href

root: INFO: ========================================================
root: INFO: Test Case....: test_create_flavor_negative_tests_1_empty_href
root: INFO: Created At...: 2014-10-14 10:23:37.110348
root: INFO: No Test description.
root: INFO: ========================================================
cafe.engine.http.client: DEBUG: (<tests.api.utils.client.PoppyClient object at 0x10689fbd0>, 'POST', 'http://0.0.0.0:8888/v1.0/flavors') {'headers': {'Content-Type': 'application/json', 'X-Project-Id': u'650278', 'X-Auth-Token': u'985a88c47abb4663981ca988eacbd1d1'}, 'params': {}, 'verify': False, 'data': '{"id": "b14a9e07-53ad-11e4-90bd-28cfe91478b9", "providers": [{"links": [{"href": "", "rel": "provider_url"}], "provider": "ChinaCache"}]}'}
requests.packages.urllib3.connectionpool: INFO: Starting new HTTP connection (1): 0.0.0.0
requests.packages.urllib3.connectionpool: DEBUG: "POST /v1.0/flavors HTTP/1.1" 204 0
cafe.engine.http.client: DEBUG:
------------
REQUEST SENT
------------
request method..: POST
request url.....: http://0.0.0.0:8888/v1.0/flavors
request params..:
request headers.: {'Content-Length': '137', 'Accept-Encoding': 'gzip, deflate', 'X-Project-Id': u'650278', 'Accept': '*/*', 'User-Agent': 'python-requests/2.4.1 CPython/2.7.1 Darwin/11.4.2', 'Connection': 'keep-alive', 'X-Auth-Token': u'985a88c47abb4663981ca988eacbd1d1', 'Content-Type': 'application/json'}
request body....: {"id": "b14a9e07-53ad-11e4-90bd-28cfe91478b9", "providers": [{"links": [{"href": "", "rel": "provider_url"}], "provider": "ChinaCache"}]}

cafe.engine.http.client: DEBUG:
-----------------
RESPONSE RECEIVED
-----------------
response status..: <Response [204]>
response time....: 0.348796844482
response headers.: {'date': 'Tue, 14 Oct 2014 14:23:40 GMT', 'content-length': '4', 'location': 'http://0.0.0.0:8888/v1.0/flavors/b14a9e07-53ad-11e4-90bd-28cfe91478b9', 'server': 'WSGIServer/0.1 Python/2.7.1'}
response body....: