~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-03-12 00:01:34 UTC
  • mfrom: (5582.10.97 weave-plugin)
  • Revision ID: pqm@pqm.ubuntu.com-20110312000134-exy10w8ctjs8tpiu
Tags: upstream-2.4.0~beta1~bzr5718
(jelmer) Add Prober.known_formats() in favour of
 BzrDirFormat.register_format() and ControlDirFormat.register_format().
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
47
47
        self.assertIsDirectory('.bzr/checkout', t)
48
48
        self.assertIsDirectory('.bzr/checkout/lock', t)
49
49
 
50
 
    def test_init_weave(self):
51
 
        # --format=weave should be accepted to allow interoperation with
52
 
        # old releases when desired.
53
 
        out, err = self.run_bzr('init --format=weave')
54
 
        self.assertEqual("""Created a standalone tree (format: weave)\n""",
55
 
            out)
56
 
        self.assertEqual('', err)
57
 
 
58
50
    def test_init_format_2a(self):
59
51
        """Smoke test for constructing a format 2a repoistory."""
60
52
        out, err = self.run_bzr('init --format=2a')