Mercurial > kallithea
changeset 5968:7db1bcf1d95b
tests: drop setting EMAIL environment variable before git commit - it doesn't work on Windows and seems unnecessary
To minimize the risk, we still remove it from the environment used for running the commands.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Tue, 14 Jun 2016 01:12:09 +0200 |
parents | 5c549b26231a |
children | 5ca5379641d0 |
files | kallithea/tests/other/manual_test_vcs_operations.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/tests/other/manual_test_vcs_operations.py Mon May 02 22:54:09 2016 +0200 +++ b/kallithea/tests/other/manual_test_vcs_operations.py Tue Jun 14 01:12:09 2016 +0200 @@ -67,6 +67,7 @@ testenv = dict(os.environ) testenv['LANG'] = 'en_US.UTF-8' testenv['LANGUAGE'] = 'en_US:en' + testenv.pop('EMAIL', None) # might not be necessary p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, cwd=self.cwd, env=testenv) stdout, stderr = p.communicate() if DEBUG: @@ -125,7 +126,7 @@ i, author_str, added_file ) elif vcs == 'git': - cmd = """EMAIL="me@example.com" git commit -m "committed new %s" --author "%s" "%s" """ % ( + cmd = """git commit -m "committed new %s" --author "%s" "%s" """ % ( i, author_str, added_file ) Command(cwd).execute(cmd)