diff --git a/tests/test_pagure_flask_api_issue.py b/tests/test_pagure_flask_api_issue.py
index a1d3918..80a74f3 100644
--- a/tests/test_pagure_flask_api_issue.py
+++ b/tests/test_pagure_flask_api_issue.py
@@ -1579,7 +1579,7 @@ class PagureFlaskApiIssuetests(tests.SimplePagureTest):
data = {
"title": "test issue",
"issue_content": "This issue needs attention",
- "private": True
+ "private": True,
}
# Create an issue
diff --git a/tests/test_pagure_flask_api_user.py b/tests/test_pagure_flask_api_user.py
index e93d5b5..e85704c 100644
--- a/tests/test_pagure_flask_api_user.py
+++ b/tests/test_pagure_flask_api_user.py
@@ -427,7 +427,9 @@ class PagureFlaskApiUSertests(tests.Modeltests):
data = json.loads(output.get_data(as_text=True))
exp = {
"activities": [
- {"description_mk": '
pingou committed on test#githash
'}
+ {
+ "description_mk": 'pingou committed on test#githash
'
+ }
],
"date": date,
}
@@ -532,7 +534,9 @@ class PagureFlaskApiUSertests(tests.Modeltests):
data = json.loads(output.get_data(as_text=True))
exp = {
"activities": [
- {"description_mk": 'pingou committed on test#githash
'}
+ {
+ "description_mk": 'pingou committed on test#githash
'
+ }
],
"date": utcdate,
}
@@ -641,7 +645,9 @@ class PagureFlaskApiUSertests(tests.Modeltests):
data = json.loads(output.get_data(as_text=True))
exp = {
"activities": [
- {"description_mk": 'pingou committed on test#githash
'}
+ {
+ "description_mk": 'pingou committed on test#githash
'
+ }
],
"date": utcdate,
}
diff --git a/tests/test_pagure_flask_ui_app.py b/tests/test_pagure_flask_ui_app.py
index 37f16d5..1778268 100644
--- a/tests/test_pagure_flask_ui_app.py
+++ b/tests/test_pagure_flask_ui_app.py
@@ -1440,7 +1440,9 @@ class PagureFlaskApptests(tests.Modeltests):
text = "Cf commit %s" % first_commit.oid.hex
exp = (
'".format(first_commit.oid.hex, first_commit.oid.hex[:7])
+ "".format(
+ first_commit.oid.hex, first_commit.oid.hex[:7]
+ )
)
with self.app.application.app_context():
diff --git a/tests/test_pagure_flask_ui_fork.py b/tests/test_pagure_flask_ui_fork.py
index a2c34d8..0a95f39 100644
--- a/tests/test_pagure_flask_ui_fork.py
+++ b/tests/test_pagure_flask_ui_fork.py
@@ -2564,7 +2564,7 @@ More information
self.assertIn(
''
- ' master',
+ " master",
output_text,
)
@@ -2789,7 +2789,7 @@ More information
self.assertIn(
''
- ' master',
+ " master",
output_text,
)
@@ -3106,13 +3106,13 @@ More information
self.assertIn(
''
- ' master',
+ " master",
output_text,
)
self.assertIn(
''
- ' random_branch',
+ " random_branch",
output_text,
)
@@ -3208,13 +3208,13 @@ More information
self.assertIn(
''
- ' master',
+ " master",
output_text,
)
self.assertIn(
''
- ' random_branch',
+ " random_branch",
output_text,
)
@@ -4776,12 +4776,12 @@ class TestTicketAccessEditPRMetadata(tests.Modeltests):
output_text,
)
self.assertIn(
- '',
- '',
- output_text,
- )
+ '',
+ '',
+ output_text,
+ )
self.assertNotIn(
'