~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_add.py

  • Committer: Ian Clatworthy
  • Date: 2009-03-18 20:01:05 UTC
  • mto: (4178.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 4179.
  • Revision ID: ian.clatworthy@canonical.com-20090318200105-bd4wt98cbe89uvuf
Fix add in trees supports views

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
class TestAdd(ExternalBase):
27
27
 
 
28
    # Subclasses may override this
 
29
    branch_tree_format = "pack-0.92"
 
30
 
 
31
    def make_branch_and_tree(self, dir):
 
32
        return ExternalBase.make_branch_and_tree(self, dir,
 
33
            format=self.branch_tree_format)
 
34
 
28
35
    def test_add_reports(self):
29
36
        """add command prints the names of added files."""
30
37
        tree = self.make_branch_and_tree('.')
207
214
        self.build_tree([u'\u1234A', u'\u1235A', u'\u1235AA', 'cc'])
208
215
        self.run_bzr(['add', u'\u1234?', u'\u1235*'])
209
216
        self.assertEquals(self.run_bzr('unknowns')[0], 'cc\n')
 
217
 
 
218
 
 
219
class TestAddInTreeSupportingViews(TestAdd):
 
220
 
 
221
    branch_tree_format = "development-wt5"