59
59
out, err = self.run_bzr_captured(['annotate', 'hello.txt'])
60
60
self.assertEquals(err, '')
61
61
self.assertEqualDiff(out, '''\
62
1 test@us | my helicopter
63
3 user@te | your helicopter
62
1 test@us | my helicopter
63
3 user@te | your helicopter
66
66
def test_no_mail(self):
67
67
out, err = self.run_bzr_captured(['annotate', 'nomail.txt'])
68
68
self.assertEquals(err, '')
69
69
self.assertEqualDiff(out, '''\
73
73
def test_annotate_cmd_revision(self):
74
74
out, err = self.run_bzr_captured(['annotate', 'hello.txt', '-r1'])
75
75
self.assertEquals(err, '')
76
76
self.assertEqualDiff(out, '''\
77
1 test@us | my helicopter
77
1 test@us | my helicopter
80
80
def test_annotate_cmd_revision3(self):
81
81
out, err = self.run_bzr_captured(['annotate', 'hello.txt', '-r3'])
82
82
self.assertEquals(err, '')
83
83
self.assertEqualDiff(out, '''\
84
1 test@us | my helicopter
85
3 user@te | your helicopter
84
1 test@us | my helicopter
85
3 user@te | your helicopter
88
88
def test_annotate_cmd_unknown_revision(self):