~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_whoami.py

remove all trailing whitespace from bzr source

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
        out = self.run_bzr("whoami --email")[0]
36
36
        self.assertTrue(len(out) > 0)
37
37
        self.assertEquals(1, out.count('@'))
38
 
        
 
38
 
39
39
    def test_whoami_branch(self):
40
40
        """branch specific user identity works."""
41
41
        wt = self.make_branch_and_tree('.')
51
51
            whoami_email = self.run_bzr("whoami --email")[0]
52
52
            self.assertEquals('branch@identi.ty\n', whoami_email)
53
53
 
54
 
            # Verify that the environment variable overrides the value 
 
54
            # Verify that the environment variable overrides the value
55
55
            # in the file
56
56
            os.environ['BZR_EMAIL'] = 'Different ID <other@environ.ment>'
57
57
            whoami = self.run_bzr("whoami")[0]