~ralsina/ubuntuone-control-panel/unique_in_ubuntu

« back to all changes in this revision

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

  • Committer: Tarmac
  • Author(s): Natalia B. Bidart, Manuel de la Pena
  • Date: 2012-04-05 18:07:56 UTC
  • mfrom: (307.1.6 autoupdate)
  • Revision ID: tarmac-20120405180756-bwh9460pl303hfwi
- Check for updates when the main window is shown. On linux, this is a no
operation. On windows, this will check for new versions of the software and
will prompt the user for confirmation to install updates (LP: #971455).

Show diffs side-by-side

added added

removed removed

Lines of Context:
210
210
        cls.kwargs = kw
211
211
        return cls.response
212
212
 
 
213
    @classmethod
 
214
    def question(cls, *a, **kw):
 
215
        """Simulate a question message."""
 
216
        cls.args = a
 
217
        cls.kwargs = kw
 
218
        return cls.response
 
219
 
213
220
    # Invalid name "setDetailedText", "setDefaultButton"
214
221
    # pylint: disable=C0103
215
222