~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2012-03-06 17:17:27 UTC
  • mfrom: (6481 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6486.
  • Revision ID: jelmer@samba.org-20120306171727-jx9dsy122hsivepo
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
            '  control directory: ctrl\n')
58
58
        self.assertEquals(err, '')
59
59
 
 
60
    def test_info_empty_controldir_verbose(self):
 
61
        self.make_bzrdir('ctrl')
 
62
        out, err = self.run_bzr('info -v ctrl')
 
63
        self.assertEqualDiff(out,
 
64
            'Empty control directory (format: 2a or pack-0.92)\n'
 
65
            'Location:\n'
 
66
            '  control directory: ctrl\n\n'
 
67
            'Format:\n'
 
68
            '       control: Meta directory format 1\n\n'
 
69
            'Control directory:\n'
 
70
            '         0 branches\n')
 
71
        self.assertEquals(err, '')
 
72
 
60
73
    def test_info_dangling_branch_reference(self):
61
74
        br = self.make_branch('target')
62
75
        br.create_checkout('from', lightweight=True)