diff --git a/debian/patches/0002-Use-bare-repo-for-testing.patch b/debian/patches/0002-Use-bare-repo-for-testing.patch index d30326b..779a991 100644 --- a/debian/patches/0002-Use-bare-repo-for-testing.patch +++ b/debian/patches/0002-Use-bare-repo-for-testing.patch @@ -3,11 +3,11 @@ Date: Mon, 8 Aug 2016 20:37:40 -0400 Subject: Use bare repo for testing --- - tests/test_pagure_flask_api_issue.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) + tests/test_pagure_flask_api_issue.py | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_pagure_flask_api_issue.py b/tests/test_pagure_flask_api_issue.py -index 2b6fb7a..b1324ab 100644 +index 2b6fb7a..c6d166b 100644 --- a/tests/test_pagure_flask_api_issue.py +++ b/tests/test_pagure_flask_api_issue.py @@ -46,7 +46,8 @@ class PagureFlaskApiIssuetests(tests.Modeltests): @@ -20,3 +20,13 @@ index 2b6fb7a..b1324ab 100644 tests.create_tokens(self.session) tests.create_tokens_acl(self.session) +@@ -624,7 +625,8 @@ class PagureFlaskApiIssuetests(tests.Modeltests): + def test_api_change_status_issue(self): + """ Test the api_change_status_issue method of the flask api. """ + tests.create_projects(self.session) +- tests.create_projects_git(os.path.join(tests.HERE, 'tickets')) ++ tests.create_projects_git( ++ os.path.join(tests.HERE, 'tickets'), bare=True) + tests.create_tokens(self.session) + tests.create_tokens_acl(self.session) +