~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

  • Committer: Patch Queue Manager
  • Date: 2011-10-05 14:12:34 UTC
  • mfrom: (6083.2.13 metadir-goes-colo)
  • Revision ID: pqm@pqm.ubuntu.com-20111005141234-pjarq2hlunfrrrse
(jelmer) Add 'development-colo' format which supports colocated branches.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1397
1397
        self._transport.put_bytes("a.~1~", "some content")
1398
1398
        self.assertEqual("a.~2~", self._bzrdir._available_backup_name("a"))
1399
1399
 
 
1400
 
 
1401
class TestMeta1DirColoFormat(TestCaseWithTransport):
 
1402
    """Tests specific to the meta1 dir with colocated branches format."""
 
1403
 
 
1404
    def test_supports_colo(self):
 
1405
        format = bzrdir.BzrDirMetaFormat1Colo()
 
1406
        self.assertTrue(format.colocated_branches)