~ubuntu-branches/ubuntu/utopic/ubuntuone-control-panel/utopic

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Rodney Dawes
  • Date: 2012-04-11 14:08:12 UTC
  • mfrom: (1.1.30)
  • Revision ID: package-import@ubuntu.com-20120411140812-1v7205tg06a6tvho
Tags: 3.0.0-0ubuntu1
* New upstream release.
  - Loading overlay text is too big. (LP: #973689)
  - Error after removing current device. (LP: #973830)
* debian/watch:
  - Update watch file for new release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
 
69
69
    def test_on_credentials_not_found(self):
70
70
        """The wizard panel is shown."""
 
71
        self.patch(self.ui.ui.wizard, 'restart', self._set_called)
71
72
        self.ui.on_credentials_found()
72
73
        self.ui.on_credentials_not_found()
73
74
        self.assertIs(self.ui.ui.switcher.currentWidget(), self.ui.ui.wizard)
 
75
        self.assertEqual(self._called, ((), {}))
74
76
 
75
77
    @defer.inlineCallbacks
76
78
    def test_on_credentials_found_called(self):