~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_tree/test_tree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-09-01 10:55:26 UTC
  • mfrom: (6110.6.3 haslayout-noversioneddirs)
  • Revision ID: pqm@pqm.ubuntu.com-20110901105526-jnqnr84fhdriyjee
(jelmer) Support repository formats without explicitly versioned directories
 in HasLayout. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
323
323
        if kind == "SHA1":
324
324
            expected = osutils.sha_strings('file content')
325
325
            self.assertEqual(expected, data)
 
326
 
 
327
 
 
328
class TestHasVersionedDirectories(TestCaseWithTree):
 
329
 
 
330
    def test_has_versioned_directories(self):
 
331
        work_tree = self.make_branch_and_tree('tree')
 
332
        tree = self._convert_tree(work_tree)
 
333
        self.assertSubset([tree.has_versioned_directories()], (True, False))