./run_tests.sh throws an error on keystone.test.functional.test_client.TestAdminClient
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Undecided
|
Justin Shepherd |
Bug Description
./run_tests.sh
--SNIP--
Starting the RAX-KEY extension
Starting the Legacy Authentication component
Service API listening on 0.0.0.0:5000
Admin API listening on 0.0.0.0:35357
Running tests...
Stopping the keystone server...
Traceback (most recent call last):
File "run_tests.py", line 31, in <module>
test_
File "~/Projects/
(BASE_DIR, TEST_DIR))
File "~/Projects/
raise RuntimeError(msg)
RuntimeError: Command unit2 discover -f -t ~/Projects/
STDOUT:
STDERR: .......
=======
ERROR: test_admin_
-------
Traceback (most recent call last):
File "~/Projects/
with self.assertRais
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
-------
Ran 29 tests in 13.794s
FAILED (errors=1)
Changed in keystone: | |
milestone: | none → essex-1 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | essex-1 → 2012.1 |
There are actually 2 issues in test/functional /test_client. py:
======= ======= ======= ======= ======= ======= ======= ======= ======= ======= get_token_ bad_auth (keystone. test.functional .test_client. TestServiceClie nt) ------- ------- ------- ------- ------- ------- ------- ------- ------- justinshepherd/ Projects/ git/keystone/ keystone/ test/functional /test_client. py", line 87, in test_admin_ get_token_ bad_auth es(keystone. common. exception. ClientError) :
ERROR: test_admin_
-------
Traceback (most recent call last):
File "/Users/
with self.assertRais
TypeError: failUnlessRaises() takes at least 3 arguments (2 given)
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
Ran 33 tests in 13.516s
FAILED (errors=1)