When running tests without virtualenv, test_traceback_not_consumed fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Critical
|
Jay Pipes |
Bug Description
jpipes@
TestCurlApi
test_
=======
FAIL: test_traceback_
-------
Traceback (most recent call last):
File "/home/
"Could not find '%s' in '%s'" % (expected, out))
AssertionError: Could not find 'Content-Type must be application/
Content-Type: text/html; charset=UTF-8
Content-Length: 298
Date: Tue, 12 Apr 2011 18:01:41 GMT
<html>
<head>
<title>400 Bad Request</title>
</head>
<body>
<h1>400 Bad Request</h1>
The server could not comply with the request since
it is either malformed or otherwise incorrect.
<br /><br />
400 Bad Request
Content-Type: text/html; charset=UTF-8
Content-Length: 0
</body>
</html>'
-------
Ran 1 test in 0.838s
FAILED (failures=1)
This does not fail when run with ./run_tests.sh -V, however it *does* fail when doing ./run_tests.sh -N or python setup.py test. I noticed the latter on https:/
Related branches
- Rick Harris (community): Approve
-
Diff: 100 lines (+24/-22)2 files modifiedglance/server.py (+20/-22)
tests/functional/test_curl_api.py (+4/-0)
Changed in glance: | |
milestone: | none → cactus-rc |
Changed in glance: | |
status: | In Progress → Fix Committed |
Changed in glance: | |
milestone: | cactus-rc → 2011.2 |
status: | Fix Committed → Fix Released |