/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 bzrlib/tests/blackbox/test_init.py

  • Committer: Jelmer Vernooij
  • Date: 2011-01-19 18:40:15 UTC
  • mfrom: (5622 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5624.
  • Revision ID: jelmer@samba.org-20110119184015-ahycpz0yduideif0
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2006-2010 Canonical Ltd
 
1
# Copyright (C) 2006-2011 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
226
226
        # and uses whoami only in a lock file. Without whoami the login name
227
227
        # is used. This test is to ensure that init passes even when whoami
228
228
        # is not available.
229
 
        osutils.set_or_unset_env('EMAIL', None)
230
 
        osutils.set_or_unset_env('BZR_EMAIL', None)
 
229
        self.overrideEnv('EMAIL', None)
 
230
        self.overrideEnv('BZR_EMAIL', None)
231
231
        out, err = self.run_bzr(['init', 'foo'])
232
232
        self.assertEqual(err, '')
233
233
        self.assertTrue(os.path.exists('foo'))
234
 
        
 
234