Skip to content

Commit de0b416

Browse files
committed
Test fixes
1 parent 4bb337a commit de0b416

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ max-line-length = 120
33

44
[flake8]
55
max-line-length = 120
6-
ignore = E203,E501
6+
ignore = E203,E501,W503
77
exclude = .tox,docs
88

99
[mypy]

tests/test_jira.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ def test_get_issue_comment_not_found(self):
4747

4848
def test_post_issue_with_invalid_request(self):
4949
"""Post an issue but receive a 400 error response"""
50-
# with self.assertRaises(HTTPError):
51-
self.jira.create_issue(fields={"issuetype": "foo", "summary": "summary", "project": "project"})
50+
with self.assertRaises(HTTPError):
51+
self.jira.create_issue(fields={"issuetype": "foo", "summary": "summary", "project": "project"})

0 commit comments

Comments
 (0)