nova.image.glance unit tests should not use fake glance service
Bug #1293938 reported by
Jay Pipes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Wishlist
|
Jay Pipes |
Bug Description
The unit tests in nova.tests.
The unit tests should be rewritten to simply mock out the very specific code boundaries where tested calls interact with the glanceclient client classes, and that's it. Unit tests should just test one little unit of code, not giant swathes of dependent code.
tags: | added: testing |
Changed in nova: | |
importance: | Undecided → Wishlist |
Changed in nova: | |
status: | New → Triaged |
Changed in nova: | |
milestone: | none → juno-3 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-3 → 2014.2 |
To post a comment you must log in.
Note that one of the things that gets masked by the current fake glance service is the fact that glanceclient v1 client and glanceclient v2 client classes have very different behaviors for the exact same calls.