def test_generate_change_log_jira_not_exist_update_priority(self):
    url = reverse('issues-detail', kwargs={'pk': 8})
    response = self.client.patch(url, {'priority': '紧急'})
    self.assertEqual(response.status_code, status.HTTP_200_OK)
    zc_change_logs = json.loads(response.data['data']['zcChangeLogs'])
    zc_change_logs[0].pop('created')
    self.assertEqual(zc_change_logs, [{'wanxin': 'app_owner_user', 'items': [{'field': 'priority', 'toString': '紧急', 'fromString': '不紧急'}], 'author': ''}])
def test_generate_change_log_jira_not_exist_update_priority(self):
    url = reverse('issues-detail', kwargs={'pk': 8})
    response = self.client.patch(url, {'priority': '紧急'})
    self.assertEqual(response.status_code, status.HTTP_200_OK)
    zc_change_logs = json.loads(response.data['data']['zcChangeLogs'])
    zc_change_logs[0].pop('created')
    self.assertEqual(zc_change_logs, [{'wanxin': 'app_owner_user', 'items': [{'field': 'priority', 'toString': '紧急', 'fromString': '不紧急'}], 'author': }])