/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: Breezy landing bot
  • Author(s): Martin
  • Date: 2019-06-16 01:52:23 UTC
  • mfrom: (7336.2.1 split_config_env)
  • Revision ID: breezy.the.bot@gmail.com-20190616015223-0kkno5fepi7tmbqy
Split non-ini config methods to bedding

Merged from https://code.launchpad.net/~gz/brz/split_config_env/+merge/368863

Show diffs side-by-side

added added

removed removed

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