/breezy/unstable

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy/unstable

« back to all changes in this revision

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

Merge trunk, address review comments.

Show diffs side-by-side

added added

removed removed

Lines of Context:
142
142
        self.overrideEnv('EMAIL', None)
143
143
        self.overrideAttr(config, '_auto_user_id', lambda: (None, None))
144
144
        global_conf = config.GlobalStack()
145
 
        self.assertRaises(errors.NoWhoami, global_conf.get, 'email')
 
145
        self.assertRaises(config.NoWhoami, global_conf.get, 'email')
146
146
 
147
147
    def test_whoami_nonbranch_directory(self):
148
148
        """Test --directory mentioning a non-branch directory."""