def test_jira_to_zc_user_is_zhongce(self):
    url = reverse('jiratoissue')
    data = {'issue': {'key': 'CC-157'}, 'user': {'name': JIRA_ZC_USER}}
    response = self.client.post(url, data, format='json')
    self.assertEqual(response.status_code, status.HTTP_200_OK)
    self.assertEqual(response.data['data']['issueId'], 1)
    self.assertEqual(response.data['data']['jiraId'], 'CC-157')
def test_jira_to_zc_user_is_zhongce(self):
    url = reverse('jiratoissue')
    data = {'issue': {'key': 'CC-157'}, 'user': {'name': JIRA_ZC_USER}}
    response = self.client.post(url, data, format='json')
    self.assertEqual(response.status_code, status.HTTP_200_OK)
    self.assertEqual(response.data['data']['issueId'], 1)
    self.assertEqual(response.data['data']['jiraId'], 'CC-157')