def test_filter_issues_by_jira_id(self):
    self.client.force_authenticate(user=get_user_model().objects.get(username='app_owner_user'))
    response = self.client.get(reverse('issues-list'), {'jiraId': 'CC-157', 'appId': 1})
    self.assertEqual(self._get_response_total(response), 1)
    response = self.client.get(reverse('issues-list'), {'jiraId': 'AAABBB', 'appId': 1})
    self.assertEqual(self._get_response_total(response), 0)
    response = self.client.get(reverse('issues-list'), {'jiraId': 'AA-170', 'appId': 1})
    self.assertEqual(self._get_response_total(response), 0)
def test_filter_issues_by_jira_id(self):
    self.client.force_authenticate(user=get_user_model().objects.get(username='app_owner_user'))
    response = self.client.get(reverse('issues-list'), {'jiraId': 'CC-157', 'appId': 1})
    self.assertEqual(self._get_response_total(response), 1)
    response = self.client.get(reverse('issues-list'), {'jiraId': 'AAABBB', 'appId': 1})
    self.assertEqual(self._get_response_total(response), 0)
    response = self.client.get(reverse('issues-list'), {'jiraId': 'AA-170', 'appId': 1})
    self.assertEqual(self._get_response_total(response), 0)