~dobey/ubuntu/oneiric/ubuntuone-control-panel/release-113

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/gtk/tests/test_gui_basic.py

Tags: 0.9.6-0ubuntu1
releasing version 0.9.6-0ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
143
143
        THE_FLEP.urgent = True
144
144
        self.patch(gui.Unity, "LauncherEntry", FakeLauncherEntry)
145
145
        cp = gui.ControlPanelWindow()
146
 
        cp.emit('focus-in-event', None)
 
146
        cp.emit('focus-in-event', gui.gtk.gdk.Event(gui.gtk.gdk.FOCUS_CHANGE))
147
147
        self.assertEqual(
148
148
            False, THE_FLEP.urgent, 'remove_urgency should have been called.')
149
149