74
74
f = file('.bzr/email', 'wt')
75
75
f.write('Branch Identity <branch@identi.ty>')
77
80
whoami = self.runbzr("whoami",backtick=True)
78
81
whoami_email = self.runbzr("whoami --email",backtick=True)
79
82
self.assertTrue(whoami.startswith('Branch Identity <branch@identi.ty>'))
80
83
self.assertTrue(whoami_email.startswith('branch@identi.ty'))
82
94
def test_invalid_commands(self):
83
95
self.runbzr("pants", retcode=1)