Test Harness failure message for mismatched widget count not very helpful
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unity-scopes-shell (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
This is the current failure message when testing the Preview and the widget count does not match the expected set of widgets:
=======
FAIL: tests.test_
-------
Traceback (most recent call last):
File "/tmp/buildd/
self.
File "/usr/lib/
self.
File "/usr/lib/
raise self.failureExc
AssertionError: False is not true : Failed expectations:
Incorrect number of preview widgets 8, expected 9
This is not very helpful for determining what exactly failed in the test. It would be much more helpful if a list of the actual missing widgets was output, similar to what happens when those widgets have different types than are expected. Not knowing which widgets exactly were missing from the result set make it very difficult to debug such test failures.
Changed in unity-scopes-shell (Ubuntu): | |
status: | New → Incomplete |
status: | Incomplete → Triaged |
importance: | Undecided → Medium |