Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 22, 2024
1 parent 275c3db commit 640e511
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/resources/test_issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 640e511

Please sign in to comment.