From b0c55b95d8308adbe1ecc5b2704de19b9f565b59 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Aug 08 2016 13:34:28 +0000 Subject: Use bare repo for testing Apparently when running the tests on debian, they run into a problem because the repo is not bare. Since it does make sense to have a bare repo here, let's just fix it. --- diff --git a/tests/test_pagure_flask_api_issue.py b/tests/test_pagure_flask_api_issue.py index 2b6fb7a..b1324ab 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): def test_api_new_issue(self): """ Test the api_new_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)