~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Andrew Bennetts
  • Date: 2011-04-08 03:31:54 UTC
  • mfrom: (5766 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5767.
  • Revision ID: andrew.bennetts@canonical.com-20110408033154-la08nghd4391sw5m
Merge latest lp:bzr, move our new release notes entries to the current release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
from bzrlib import (
25
25
    bzrdir,
 
26
    config,
26
27
    osutils,
27
28
    ignores,
28
29
    msgeditor,
758
759
        self.run_bzr(['add'])
759
760
        self.overrideEnv('EMAIL', None)
760
761
        self.overrideEnv('BZR_EMAIL', None)
 
762
        # Also, make sure that it's not inferred from mailname.
 
763
        self.overrideAttr(config, '_auto_user_id',
 
764
            lambda: (None, None))
761
765
        out, err = self.run_bzr(['commit', '-m', 'initial'], 3)
762
766
        self.assertContainsRe(err, 'Unable to determine your name')
763
767