test suite failures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
Medium
|
Michael Vogt |
Bug Description
update-manager's test suite fails. bdmurray pointed me at this command:
xvfb-run nosetests3 -s --tests tests/test_
which produced 5 failures and one error. The error I think was easy enough to fix, since it was dependent on the random number returned when calculating phased updates, and that is dependent on the machine id. I mocked that out to get consistent results.
The test failures all seem to point to a change in behavior for pkg.is_upgradable, since the updates_list is a different size than expected (expected: 3, actual: 1). Brian's seeing the same thing.
I'll link a branch that fixes the test bug, but atm I'm kind of stumped at why .is_upgradable is not what's expected.
Related branches
- Michael Vogt (community): Approve
-
Diff: 23 lines (+4/-2)1 file modifiedtests/test_update_list.py (+4/-2)
tags: | added: trusty |
Changed in update-manager (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in update-manager (Ubuntu): | |
assignee: | nobody → Michael Vogt (mvo) |
status: | Triaged → Fix Committed |
I've tested python-apt as far back as version 0.9.0 without any effect on the tests. I wonder if it isn't actually caused by a change in apt.