~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2012-01-05 09:17:34 UTC
  • mto: This revision was merged to the branch mainline in revision 6428.
  • Revision ID: v.ladeuil+lp@free.fr-20120105091734-4ncoo2gg7wbowo2q
Further simplify test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
 
179
179
    def test_annotate_edited_file(self):
180
180
        tree = self._setup_edited_file()
181
 
        tree.branch.get_config_stack().set('email', 'current@host2')
 
181
        self.overrideEnv('BZR_EMAIL', 'current@host2')
182
182
        out, err = self.run_bzr('annotate file')
183
183
        self.assertEqual(
184
184
            '1   test@ho | foo\n'