in tests, many tests pass arguments to assertEqual backwards as (observed,expected) instead of (expected, observed)
Bug #1260134 reported by
Clint Byrum
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Opinion
|
Wishlist
|
Matt Fischer |
Bug Description
This is a minor bug but it will produce a very confusing error message if the test ever fails. Examples include but are not limited to nova.tests.
To post a comment you must log in.
I have noticed this too, unfortunately I don't know any easy way to detect these cases so the fix sounds pretty human intensive. And even worse I am not sure how to automatically enforce this in review.