190
188
def test_recommend_upgrade_wt4(self):
191
189
# using a deprecated format gives a warning
194
192
self.assertContainsRe(err, 'bzr upgrade .*[/\\\\]a')
196
194
def test_no_upgrade_recommendation_from_bzrdir(self):
197
195
# we should only get a recommendation to upgrade when we're accessing
198
196
# the actual workingtree, not when we only open a bzrdir that contains
201
out, err = self.run_bzr('checkout', 'a', 'b')
202
200
if err.find('upgrade') > -1:
203
201
self.fail("message shouldn't suggest upgrade:\n%s" % err)