~ubuntu-branches/ubuntu/precise/ubuntuone-control-panel/precise-proposed

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/gui/qt/tests/test_systray.py

  • Committer: Package Import Robot
  • Author(s): Natalia Bidart (nessita)
  • Date: 2012-02-15 14:57:02 UTC
  • mfrom: (1.1.25)
  • Revision ID: package-import@ubuntu.com-20120215145702-nn4wwf8t91i1vuot
Tags: 2.99.4-0ubuntu1
* New upstream release:
  - Replaced custom webclient with the one from ubuntu-sso-client
    (LP: #926311).
  - Avoid TypeError when fetching credentials in the GTK+ OverviewPanel
    (LP: #927743).
* debian/control:
  - no longer use cdbs, use pure dh instead.
  - updated ubuntu-sso-client dependencies to 2.99.4.
  - added dependencies on the new ubuntu-sso-client binary packages.
  - added a new binary package ubuntuone-control-panel-qt for the Qt
    frontent, which provides the virtual package ubuntuone-control-panel-gui.
  - added missing dependency on python-dbus for ubuntuone-control-panel-gtk.
  - python-ubuntuone-control-panel no longer depends on Soup bindings,
    nor on python-oauth, nor on python-twisted-web.
* debian/python-ubuntuone-control-panel.install: no longer install the
  removed python package web_client.
* debian/rules: no longer use cdbs, use pure dh instead.
* debian/ubuntuone-control-panel-qt.install: Qt frontend installation files.
* debian/watch: updated milestone to 2.99.4.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
"""Tests for the notification area icon."""
20
20
 
21
21
from PyQt4 import QtGui
22
 
from twisted.internet import reactor
23
22
from twisted.internet.defer import inlineCallbacks
24
23
 
25
24
from ubuntuone.controlpanel.gui.qt import systray
65
64
        """Quit should call SyncDaemonTool.quit()."""
66
65
        st = FakeSDTool()
67
66
        self.patch(systray, "SyncDaemonTool", lambda: st)
68
 
        self.patch(reactor, "stop", lambda: None)
69
67
        tray = systray.TrayIcon()
70
68
        yield tray.stop()
71
69
        self.assertTrue(st.called)