def test_generate_change_log_jira_not_exist_update_images(self):
    url = reverse('issues-detail', kwargs={'pk': 8})
    response = self.client.patch(url, {'images': ['aabbceadfdfdfdfdfdf']})
    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': 'images', 'toString': "['aabbceadfdfdfdfdfdf']", 'fromString': '[]'}], 'author': ''}])
def test_generate_change_log_jira_not_exist_update_images(self):
    url = reverse('issues-detail', kwargs={'pk': 8})
    response = self.client.patch(url, {'images': ['aabbceadfdfdfdfdfdf']})
    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': 'images', 'toString': "['aabbceadfdfdfdfdfdf']", 'fromString': '[]'}], 'author': }])