# HG changeset patch # User domruf # Date 1462224775 -7200 # Node ID 894ab347d808a6737cde91553799b1c017102f08 # Parent 5e501b6ee639c2cf25080ba8c3d53f4e4b6ad32e tests: use double quotes in command lines - single quotes in command lines are not considered quotes on Windows diff -r 5e501b6ee639 -r 894ab347d808 kallithea/tests/other/manual_test_vcs_operations.py --- a/kallithea/tests/other/manual_test_vcs_operations.py Fri Apr 29 16:53:49 2016 +0200 +++ b/kallithea/tests/other/manual_test_vcs_operations.py Mon May 02 23:32:55 2016 +0200 @@ -110,15 +110,15 @@ 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)