~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_views.py

  • Committer: Vincent Ladeuil
  • Date: 2012-08-04 14:27:47 UTC
  • mto: This revision was merged to the branch mainline in revision 6553.
  • Revision ID: v.ladeuil+lp@free.fr-20120804142747-2t498paljijf7q7y
Remaining tests matching setup(self) that can be rewritten with super().

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
                "supports views, assuming not" % fmt)
41
41
        if not f():
42
42
            raise TestSkipped("format %s doesn't support views" % fmt)
43
 
        TestCaseWithWorkingTree.setUp(self)
 
43
        super(TestTreeViews, self).setUp()
44
44
 
45
45
    def test_views_initially_empty(self):
46
46
        wt = self.make_branch_and_tree('wt')
172
172
            raise TestSkipped("Format %s declares that views are supported"
173
173
                              % fmt)
174
174
            # it's covered by TestTreeViews
175
 
        TestCaseWithWorkingTree.setUp(self)
 
175
        super(TestUnsupportedViews, self).setUp()
176
176
 
177
177
    def test_view_methods_raise(self):
178
178
        wt = self.make_branch_and_tree('wt')