[Bug 1295392] Re: test suite failures

Launchpad Bug Tracker 1295392 at bugs.launchpad.net
Fri Mar 28 11:50:46 UTC 2014


This bug was fixed in the package update-manager - 1:0.196.9

---------------
update-manager (1:0.196.9) trusty; urgency=medium

  [ Sebastien Bacher ]
  * UpdateManager/UpdatesAvailable.py:
    - use the correct icon theme (lp: #1283554)

  [ Marc Deslauriers ]
  * UpdateManager/Dialogs.py: close window after requesting reboot.
    (LP: #1297361)

  [ Michael Vogt ]
  * tests/aptroot-update-list-test:
    - fix test failure caused by not-installable depends (lp: #1295392)
 -- Michael Vogt <michael.vogt at ubuntu.com>   Wed, 26 Mar 2014 12:52:13 +0100

** Changed in: update-manager (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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