[Bug 1295392] Re: test suite failures

Brian Murray brian at ubuntu.com
Thu Mar 20 22:53:53 UTC 2014


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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1295392

Title:
  test suite failures

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  update-manager's test suite fails.  bdmurray pointed me at this
  command:

  xvfb-run nosetests3 -s --tests tests/test_update_list.py

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1295392/+subscriptions



More information about the foundations-bugs mailing list