29
29
def test_update_standalone_trivial(self):
30
30
self.runbzr("init")
31
31
out, err = self.runbzr('update')
32
self.assertEqual('Tree is up to date.\n', err)
32
self.assertEqual('Tree is up to date at revision 0.\n', err)
33
33
self.assertEqual('', out)
35
35
def test_update_up_to_date_light_checkout(self):
36
36
self.make_branch_and_tree('branch')
37
37
self.runbzr('checkout --lightweight branch checkout')
38
38
out, err = self.runbzr('update checkout')
39
self.assertEqual('Tree is up to date.\n', err)
39
self.assertEqual('Tree is up to date at revision 0.\n', err)
40
self.assertEqual('', out)
42
def test_update_up_to_date_checkout(self):
43
self.make_branch_and_tree('branch')
44
self.run_bzr('checkout', 'branch', 'checkout')
45
out, err = self.run_bzr('update', 'checkout')
46
self.assertEqual('Tree is up to date at revision 0.\n', err)
40
47
self.assertEqual('', out)
42
49
def test_update_out_of_date_standalone_tree(self):