barbican tests import modules directly from barbican client but modules no longer exist
Bug #1389419 reported by
John Griffith
This bug report is a duplicate of:
Bug #1388461: cinder.tests.keymgr.test_barbican fails with barbicanclient 3.0.0.
Edit
Remove
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Critical
|
John Griffith | ||
Juno |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Unfortunately it seems we have some very poorly written keymgr unit tests, specifically keymgr/
from barbicanclient.
First problem is that from a unit test perspective that pretty much sucks, second problem is that barbicanclient as of version 3.0.0.0 no longer has an "auth" module, as a result Cinder unit tests now fail.
The test_barbican.py unit tests need to be rewritten to mock out the client components and actually test Cinder components where needed without relying on the barbicanclient.
Changed in cinder: | |
status: | New → Triaged |
importance: | Undecided → Critical |
assignee: | nobody → John Griffith (john-griffith) |
To post a comment you must log in.
Temporarily remove test_barbican