test_jira: Remove redefined test_edit method.
MODIFY
zulip_bots/zulip_bots/bots/jira/test_jira.py
zulip_bots/zulip_bots/bots/jira/test_jira.py
-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'):

test_jira: Remove redefined test_edit method.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>