keystone-client tests fail on RHEL
Bug #933073 reported by
Ken Thomas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Joseph Heck |
Bug Description
The keystone-client runtests.sh fails on RHEL 6.2 because it's using python 2.6. Some of the tests are using functionality from the unittest module that doesn't exist in 2.6. (E.g. AttributeError: 'DiscoverKeysto
The unittest2 module *does* have the necessary functionality and works on older versions of python (which is why it exists) . So if keystone-
import unittest
-to-
import unittest2 as unittest
...and "unittest2" is added to tools/pip-requires, then the tests work fine on RHEL (and doesn't appear to break running the tests in Ubuntu either)
affects: | python-keystoneclient (Ubuntu) → python-keystoneclient |
affects: | python-keystoneclient → keystone |
Changed in keystone: | |
status: | Invalid → New |
Changed in keystone: | |
status: | New → Fix Committed |
status: | Fix Committed → New |
tags: | added: python-keystoneclient |
To post a comment you must log in.
Just noticed that this went under Ubuntu python- keystoneclient and it should have been under keystone instead. Marking as invalid and will reopen in the right place.