From d80d15fb7587e31efa1db080de52cfb6a1b4b3fc Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 27 Sep 2024 11:03:55 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/integration/gitlab/test_comments.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/tests/integration/gitlab/test_comments.py b/tests/integration/gitlab/test_comments.py index 67b21b39..9c24512e 100644 --- a/tests/integration/gitlab/test_comments.py +++ b/tests/integration/gitlab/test_comments.py @@ -54,19 +54,21 @@ def test_get_reactions(self): assert len(pr_comment.get_reactions()) == 3 def test_duplicit_reactions(self): - pr = self.service.get_project(repo="hello-world", namespace="packit-service").get_pr(1149) + pr = self.service.get_project( + repo="hello-world", namespace="packit-service", + ).get_pr(1149) pr_comment = pr.get_comments()[-1] - - pr_reaction_1 = pr_comment.add_reaction("tractor") - pr_reaction_2 = pr_comment.add_reaction("tractor") + + pr_reaction_1 = pr_comment.add_reaction("tractor") + pr_reaction_2 = pr_comment.add_reaction("tractor") assert pr_reaction_1._raw_reaction.id == pr_reaction_2._raw_reaction.id issue = self.service.get_project( repo="hello-world", namespace="packit-service", ).get_issue(12) - issue_comment = issue.get_comments()[-1] + issue_comment = issue.get_comments()[-1] - issue_reaction_1 = issue_comment.add_reaction("tractor") - issue_reaction_2 = issue_comment.add_reaction("tractor") - assert issue_reaction_1._raw_reaction.id == issue_reaction_2._raw_reaction.id \ No newline at end of file + issue_reaction_1 = issue_comment.add_reaction("tractor") + issue_reaction_2 = issue_comment.add_reaction("tractor") + assert issue_reaction_1._raw_reaction.id == issue_reaction_2._raw_reaction.id