98
82
out, err = self.run_bzr('init subdir2')
103
84
self.assertEqual('', err)
104
85
# init an existing branch.
105
86
out, err = self.run_bzr('init subdir2', retcode=3)
106
87
self.assertEqual('', out)
107
88
self.failUnless(err.startswith('bzr: ERROR: Already a branch:'))
114
90
def test_init_existing_branch(self):
116
92
out, err = self.run_bzr('init', retcode=3)