Use bare repo for testing
This commit is contained in:
parent
4fb36cfae1
commit
b4b59c3759
2 changed files with 23 additions and 0 deletions
22
debian/patches/0002-Use-bare-repo-for-testing.patch
vendored
Normal file
22
debian/patches/0002-Use-bare-repo-for-testing.patch
vendored
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
From: Sergio Durigan Junior <sergiodj@sergiodj.net>
|
||||||
|
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(-)
|
||||||
|
|
||||||
|
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)
|
||||||
|
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -1 +1,2 @@
|
||||||
0001-Support-python-bcrypt-instead-of-py-bcrypt.patch
|
0001-Support-python-bcrypt-instead-of-py-bcrypt.patch
|
||||||
|
0002-Use-bare-repo-for-testing.patch
|
||||||
|
|
Loading…
Reference in a new issue