UpdateManagerTest.test_update_first() fails if no update is available

Bug #368434 reported by Markus Korn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mago
Triaged
Low
Jean-Baptiste Lallement

Bug Description

UpdateManagerTest.test_update_first() fails with 'script error' if no updates are available because in this case len(list) will be equal to 0 and this means 'name' is undefined.
I think this is a good usecase for a SKIP exception (bug 353823), if there are no updates available this testcase does not make any sense.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

thanks for your report. I'll update the test to install a package to be upgraded in the test fixture.

Changed in mago:
assignee: nobody → Jean-Baptiste Lallement (jibel)
importance: Undecided → Low
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.