summaryrefslogtreecommitdiff
path: root/tools/python_test_v4.py
diff options
context:
space:
mode:
authorNejc Habjan <hab.nejc@gmail.com>2020-02-18 17:31:34 +0100
committerNejc Habjan <hab.nejc@gmail.com>2020-02-18 17:31:34 +0100
commitad3e833671c49db194c86e23981215b13b96bb1d (patch)
treee85113b813c96fd64cb623c068c434d5a587de66 /tools/python_test_v4.py
parent5298964ee7db8a610f23de2d69aad8467727ca97 (diff)
downloadgitlab-ad3e833671c49db194c86e23981215b13b96bb1d.tar.gz
style: fix black violations
Diffstat (limited to 'tools/python_test_v4.py')
-rw-r--r--tools/python_test_v4.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/python_test_v4.py b/tools/python_test_v4.py
index 7c97899..f5d5df0 100644
--- a/tools/python_test_v4.py
+++ b/tools/python_test_v4.py
@@ -466,8 +466,9 @@ discussion = commit.discussions.get(discussion.id)
commit.revert(branch="master")
revert_commit = admin_project.commits.list()[0]
-expected_message = "Revert \"{}\"\n\nThis reverts commit {}".format(
- commit.message, commit.id)
+expected_message = 'Revert "{}"\n\nThis reverts commit {}'.format(
+ commit.message, commit.id
+)
assert revert_commit.message == expected_message
try: