diff --git a/zulip_bots/zulip_bots/bots/jira/test_jira.py b/zulip_bots/zulip_bots/bots/jira/test_jira.py index e48f3be..362490a 100644 --- a/zulip_bots/zulip_bots/bots/jira/test_jira.py +++ b/zulip_bots/zulip_bots/bots/jira/test_jira.py @@ -1,4 +1,3 @@ -from unittest.mock import patch from zulip_bots.test_lib import BotTestCase, DefaultTests class TestJiraBot(BotTestCase, DefaultTests): @@ -159,17 +158,6 @@ Jira Bot: 'with priority "Medium" labeled "issues, testing" due "2018-06-11"', 'Oh no! Jira raised an error:\n > error1') - def test_edit(self) -> None: - with patch('requests.put') as response, \ - self.mock_config_info(self.MOCK_CONFIG_INFO): - response.return_value.text = 'text so that it isn\'t assumed to be an error' - response.return_value.json = lambda: self.MOCK_EDIT_JSON - - self.verify_reply( - 'edit issue "TEST-16" to use description "description"', - self.MOCK_EDIT_RESPONSE - ) - def test_edit(self) -> None: with self.mock_config_info(self.MOCK_CONFIG_INFO), \ self.mock_http_conversation('test_edit'):