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