From 640e5119896f8aacab80ce94272673e120071511 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 22 Nov 2024 22:02:35 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/resources/test_issue.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/resources/test_issue.py b/tests/resources/test_issue.py index 6b36e6275..27d3d67cd 100644 --- a/tests/resources/test_issue.py +++ b/tests/resources/test_issue.py @@ -347,8 +347,8 @@ def test_update_label_with_proxy(self): labelarray = ["testLabel"] fields = {"labels": labelarray} - #This simulates when your Jira server is behind a proxy - #The self address returned will be different from the configured server + # This simulates when your Jira server is behind a proxy + # The self address returned will be different from the configured server issue.self = f"https://foo.bar/jira/rest/api/2/issue/{issue.id}" issue.update(fields=fields) self.assertEqual(issue.fields.labels, ["testLabel"]) @@ -397,8 +397,8 @@ def test_delete_with_proxy(self): issuetype=self.test_manager.CI_JIRA_ISSUE, ) key = issue.key - #This simulates when your Jira server is behind a proxy - #The self address returned will be different from the configured server + # This simulates when your Jira server is behind a proxy + # The self address returned will be different from the configured server issue.self = f"https://foo.bar/jira/rest/api/2/issue/{issue.id}" issue.delete() self.assertRaises(JIRAError, self.jira.issue, key)