45
45
bzr_email = os.environ.get('BZR_EMAIL')
46
46
if bzr_email is not None:
47
47
del os.environ['BZR_EMAIL']
49
52
whoami = self.run_bzr("whoami")[0]
50
53
self.assertEquals('Branch Identity <branch@identi.ty>\n', whoami)
51
54
whoami_email = self.run_bzr("whoami --email")[0]
52
55
self.assertEquals('branch@identi.ty\n', whoami_email)
56
59
os.environ['BZR_EMAIL'] = 'Different ID <other@environ.ment>'
57
60
whoami = self.run_bzr("whoami")[0]