test_updates_not_in_main fails if there are updates

Bug #1281582 reported by Iain Lane
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-system-settings (Ubuntu)
Fix Released
High
Diego Sarmentero

Bug Description

Sorry, I lost the autopilot output.

    def test_updates_not_in_main(self):
        """Check that the updates notification is shown in main."""
        self.assertThat(lambda: self.main_view.select_single(
            objectName='entryComponent-updates'), raises(StateNotFoundError))

If there are updates then this fails.

Is it possible to mock the backend service(s)?

Related branches

Iain Lane (laney)
Changed in ubuntu-system-settings (Ubuntu):
assignee: nobody → Diego Sarmentero (diegosarmentero)
Changed in ubuntu-system-settings (Ubuntu):
importance: Undecided → Low
status: New → Triaged
importance: Low → High
Changed in ubuntu-system-settings (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-system-settings - 0.1+14.10.20140507-0ubuntu1

---------------
ubuntu-system-settings (0.1+14.10.20140507-0ubuntu1) utopic; urgency=low

  [ Diego Sarmentero ]
  * Avoid duplicate result of Image upadte. Don't ask for credentials on
    Image update (LP: #1301644)
  * Ignore real updates during autopilot tests (LP: #1281582)

  [ Iain Lane ]
  * Disable the data roaming switch and set it to false if data is off
    (LP: #1287260)
 -- Ubuntu daily release <email address hidden> Wed, 07 May 2014 16:36:43 +0000

Changed in ubuntu-system-settings (Ubuntu):
status: In Progress → Fix Released
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.