From f487a0538abcdc65a5fdfeff2b5e443674ca771d Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 19 2016 13:25:14 +0000 Subject: Adjust the compare_commit tests with a file having a non-ascii name --- diff --git a/tests/test_pagure_flask_ui_repo.py b/tests/test_pagure_flask_ui_repo.py index d674d59..d3caded 100644 --- a/tests/test_pagure_flask_ui_repo.py +++ b/tests/test_pagure_flask_ui_repo.py @@ -1261,7 +1261,8 @@ class PagureFlaskRepotests(tests.Modeltests): # Add one more commit to git repo tests.add_commit_git_repo( - os.path.join(tests.HERE, 'test.git'), ncommits=1) + os.path.join(tests.HERE, 'test.git'), + ncommits=1, filename='Ĺ ource') c3 = repo.revparse_single('HEAD') compare_first_two(c1, c2)