# HG changeset patch # User domruf # Date 2016-05-02 23:32:55 # Node ID 894ab347d808a6737cde91553799b1c017102f08 # Parent 5e501b6ee639c2cf25080ba8c3d53f4e4b6ad32e tests: use double quotes in command lines - single quotes in command lines are not considered quotes on Windows diff --git a/kallithea/tests/other/manual_test_vcs_operations.py b/kallithea/tests/other/manual_test_vcs_operations.py --- a/kallithea/tests/other/manual_test_vcs_operations.py +++ b/kallithea/tests/other/manual_test_vcs_operations.py @@ -110,15 +110,15 @@ def _add_files_and_push(vcs, DEST, **kwa Command(cwd).execute('%s add %s' % (vcs, added_file)) for i in xrange(kwargs.get('files_no', 3)): - cmd = """echo 'added_line%s' >> %s""" % (i, added_file) + cmd = """echo "added_line%s" >> %s""" % (i, added_file) Command(cwd).execute(cmd) author_str = 'User ǝɯɐᴎ ' if vcs == 'hg': - cmd = """hg commit -m 'committed new %s' -u '%s' %s """ % ( + cmd = """hg commit -m "committed new %s" -u "%s" "%s" """ % ( i, author_str, added_file ) elif vcs == 'git': - cmd = """EMAIL="me@example.com" git commit -m 'committed new %s' --author '%s' %s """ % ( + cmd = """EMAIL="me@example.com" git commit -m "committed new %s" --author "%s" "%s" """ % ( i, author_str, added_file ) Command(cwd).execute(cmd)