~diegosarmentero/ubuntu-sso-client/back-button

« back to all changes in this revision

Viewing changes to ubuntu_sso/qt/tests/test_email_verification.py

  • Committer: Diego Sarmentero
  • Date: 2012-03-02 17:08:06 UTC
  • Revision ID: diego.sarmentero@canonical.com-20120302170806-jcjbx8mp9ktinwe5
Fix: Qt UI: there is a Back button in the "Enter verification page"

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
        self.ui.initializePage()
97
97
        self.assertTrue(button.properties['default'])
98
98
        self.assertFalse(button.isEnabled())
 
99
        expected = [('setButtonLayout', (([QtGui.QWizard.Stretch],), {}))]
 
100
        self.assertEqual(self.wizard.called, expected)
99
101
 
100
102
    def test_on_email_validation_error(self):
101
103
        """Test the validate_email method."""