~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2012-01-27 22:09:19 UTC
  • mto: This revision was merged to the branch mainline in revision 6463.
  • Revision ID: jelmer@samba.org-20120127220919-tk0fdybtfwi177c6
Use config stacks in a few more places in the test suite.

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
    def test_annotated_edited_merged_file_revnos(self):
234
234
        wt = self._create_merged_file()
235
235
        out, err = self.run_bzr(['annotate', 'file'])
236
 
        email = config.extract_email_address(wt.branch.get_config().username())
 
236
        email = config.extract_email_address(
 
237
            wt.branch.get_config_stack().get('email'))
237
238
        self.assertEqual(
238
239
            '3?    %-7s | local\n'
239
240
            '1     test@ho | foo\n'