I actually can't get a single unit test to run with Keystone's
recommended way of running unit tests, so I'm not sure :(
$> python keystone/test/unit/test_keystone.py
produces masses of the following:
ERROR: test_a_get_version_json (test_version.VersionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jpipes/repos/keystone/keystone/test/unit/test_version.py",
line 36, in test_a_get_version_json
headers={"Content-Type": "application/json"})
File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line
1129, in request
(response, content) = self._request(conn, authority, uri,
request_uri, method, body, headers, redirections, cachekey)
File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line
901, in _request
(response, content) = self._conn_request(conn, request_uri,
method, body, headers)
File "/usr/lib/python2.7/dist-packages/httplib2/__init__.py", line
871, in _conn_request
response = conn.getresponse()
File "/usr/lib/python2.7/httplib.py", line 1025, in getresponse
response = self.response_class(*args, **kwds)
File "/usr/lib/python2.7/httplib.py", line 346, in __init__
self.fp = sock.makefile('rb', 0)
AttributeError: 'NoneType' object has no attribute 'makefile'
Hundreds of the above error messages...
When I looked for the test cases that I wrote, I found that the base
unit test that I put in /test/unit/base.py is now completely gone. :(
-jay
On Wed, Jul 27, 2011 at 6:53 PM, dolph
<email address hidden>
wrote:
> @jaypipes: Can you verify that this is fixed, and close if appropriate?
>
> --
> Reply to this email directly or view it on GitHub:
> https://github.com/rackspace/keystone/issues/13#issuecomment-1668614
>
I actually can't get a single unit test to run with Keystone's
recommended way of running unit tests, so I'm not sure :(
$> python keystone/ test/unit/ test_keystone. py
produces masses of the following:
ERROR: test_a_ get_version_ json (test_version. VersionTest) ------- ------- ------- ------- ------- ------- ------- ------- ------- jpipes/ repos/keystone/ keystone/ test/unit/ test_version. py", get_version_ json {"Content- Type": "application/ json"}) python2. 7/dist- packages/ httplib2/ __init_ _.py", line python2. 7/dist- packages/ httplib2/ __init_ _.py", line request( conn, request_uri, python2. 7/dist- packages/ httplib2/ __init_ _.py", line python2. 7/httplib. py", line 1025, in getresponse class(* args, **kwds) python2. 7/httplib. py", line 346, in __init__
-------
Traceback (most recent call last):
File "/home/
line 36, in test_a_
headers=
File "/usr/lib/
1129, in request
(response, content) = self._request(conn, authority, uri,
request_uri, method, body, headers, redirections, cachekey)
File "/usr/lib/
901, in _request
(response, content) = self._conn_
method, body, headers)
File "/usr/lib/
871, in _conn_request
response = conn.getresponse()
File "/usr/lib/
response = self.response_
File "/usr/lib/
self.fp = sock.makefile('rb', 0)
AttributeError: 'NoneType' object has no attribute 'makefile'
Hundreds of the above error messages...
When I looked for the test cases that I wrote, I found that the base
unit test that I put in /test/unit/base.py is now completely gone. :(
-jay
On Wed, Jul 27, 2011 at 6:53 PM, dolph /github. com/rackspace/ keystone/ issues/ 13#issuecomment -1668614
<email address hidden>
wrote:
> @jaypipes: Can you verify that this is fixed, and close if appropriate?
>
> --
> Reply to this email directly or view it on GitHub:
> https:/
>