/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2017-07-23 22:06:41 UTC
  • mfrom: (6738 trunk)
  • mto: This revision was merged to the branch mainline in revision 6739.
  • Revision ID: jelmer@jelmer.uk-20170723220641-69eczax9bmv8d6kk
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."""