~ubuntuone-control-tower/ubuntu-sso-client/trunk

« back to all changes in this revision

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

  • Committer: Manuel de la Pena
  • Date: 2012-03-01 14:49:41 UTC
  • mto: (846.8.14 fix-credentials-text)
  • mto: This revision was merged to the branch mainline in revision 891.
  • Revision ID: manuel.delapena@canonical.com-20120301144941-ssrajuc0ooupt01v
Remove certain leftovers. Named all test cases as ClassNameTestCase

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
# pylint: disable=C0103, W0201, W0212
26
26
 
27
27
 
28
 
class QExpanderLabelTest(TestCase):
 
28
class QExpanderLabelTestCase(TestCase):
29
29
    """Test the expander labe."""
30
30
 
31
31
    @defer.inlineCallbacks
32
32
    def setUp(self):
33
33
        """Set tests."""
34
 
        yield super(QExpanderLabelTest, self).setUp()
 
34
        yield super(QExpanderLabelTestCase, self).setUp()
35
35
        self.label_content = 'test'
36
36
        self.label = QExpanderLabel(self.label_content)
37
37
 
58
58
        self.assertEqual(self.label.label.text(), new_label)
59
59
 
60
60
 
61
 
class QExpanderTest(TestCase):
 
61
class QExpanderTestCase(TestCase):
62
62
    """Test the QExpander widget."""
63
63
 
64
64
    @defer.inlineCallbacks
65
65
    def setUp(self):
66
66
        """Set up tests."""
67
 
        yield super(QExpanderTest, self).setUp()
 
67
        yield super(QExpanderTestCase, self).setUp()
68
68
        self.label_content = 'test'
69
69
        self.expander = QExpander(self.label_content)
70
70