/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 brzlib/tests/blackbox/test_commit.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 14:47:52 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521144752-8o6jt0a6xat9g7lm
More renames; commands in output, environment variables.

Show diffs side-by-side

added added

removed removed

Lines of Context:
804
804
            f = file('fed.bat', 'w')
805
805
            f.write('@rem dummy fed')
806
806
            f.close()
807
 
            self.overrideEnv('BZR_EDITOR', "fed.bat")
 
807
            self.overrideEnv('BRZ_EDITOR', "fed.bat")
808
808
        else:
809
809
            f = file('fed.sh', 'wb')
810
810
            f.write('#!/bin/sh\n')
811
811
            f.close()
812
812
            os.chmod('fed.sh', 0755)
813
 
            self.overrideEnv('BZR_EDITOR', "./fed.sh")
 
813
            self.overrideEnv('BRZ_EDITOR', "./fed.sh")
814
814
 
815
815
    def setup_commit_with_template(self):
816
816
        self.setup_editor()
865
865
            f.write('hello')
866
866
        self.run_bzr(['add'], working_dir='foo')
867
867
        self.overrideEnv('EMAIL', None)
868
 
        self.overrideEnv('BZR_EMAIL', None)
 
868
        self.overrideEnv('BRZ_EMAIL', None)
869
869
        # Also, make sure that it's not inferred from mailname.
870
870
        self.overrideAttr(config, '_auto_user_id',
871
871
            lambda: (None, None))