More 'Use bare repo for testing'
This commit is contained in:
parent
b4b59c3759
commit
07334b284b
1 changed files with 13 additions and 3 deletions
|
@ -3,11 +3,11 @@ Date: Mon, 8 Aug 2016 20:37:40 -0400
|
||||||
Subject: Use bare repo for testing
|
Subject: Use bare repo for testing
|
||||||
|
|
||||||
---
|
---
|
||||||
tests/test_pagure_flask_api_issue.py | 3 ++-
|
tests/test_pagure_flask_api_issue.py | 6 ++++--
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
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
|
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
|
--- a/tests/test_pagure_flask_api_issue.py
|
||||||
+++ b/tests/test_pagure_flask_api_issue.py
|
+++ b/tests/test_pagure_flask_api_issue.py
|
||||||
@@ -46,7 +46,8 @@ class PagureFlaskApiIssuetests(tests.Modeltests):
|
@@ -46,7 +46,8 @@ class PagureFlaskApiIssuetests(tests.Modeltests):
|
||||||
|
@ -20,3 +20,13 @@ index 2b6fb7a..b1324ab 100644
|
||||||
tests.create_tokens(self.session)
|
tests.create_tokens(self.session)
|
||||||
tests.create_tokens_acl(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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue