/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Ian Clatworthy
  • Date: 2009-02-21 05:17:18 UTC
  • mto: (4029.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 4030.
  • Revision ID: ian.clatworthy@canonical.com-20090221051718-rtr7qjzcnda16fkj
cleanup trailing whitespace

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Views stored within a working tree.
18
18
 
19
 
The views are actually in the WorkingTree.views namespace, but these are 
 
19
The views are actually in the WorkingTree.views namespace, but these are
20
20
1:1 with WorkingTree implementations so can be tested from here.
21
21
"""
22
22
 
31
31
class TestTreeViews(TestCaseWithWorkingTree):
32
32
 
33
33
    def setUp(self):
34
 
        # formats that don't support views can skip the rest of these 
 
34
        # formats that don't support views can skip the rest of these
35
35
        # tests...
36
36
        fmt = self.workingtree_format
37
37
        f = getattr(fmt, 'supports_views')
157
157
                              % fmt)
158
158
            # it's covered by TestTreeViews
159
159
        TestCaseWithWorkingTree.setUp(self)
160
 
    
 
160
 
161
161
    def test_view_methods_raise(self):
162
162
        wt = self.make_branch_and_tree('wt')
163
163
        self.assertRaises(errors.ViewsNotSupported,