~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-22 09:57:11 UTC
  • mfrom: (5724.1.4 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20110322095711-9bggm9tnxnw9frow
(jameinel) Fix tar exporters to always write to binary streams. (John A
 Meinel)

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')