def test_issues_response(self):
    self.client.force_authenticate(user=get_user_model().objects.get(username='app_owner_user'))
    response = self.client.get(reverse('issueslite-list'), {'score': 5, 'appId': 1})
    self.assertEqual(response.data, OrderedDict([('status', 200), ('msg', '成功'), ('data', OrderedDict([('total', 1), ('next', None), ('previous', None), ('results', [OrderedDict([('id', 1), ('jiraId', 'CC-157'), ('statusName', '待处理'), ('title', ''), ('createdAt', '2017-06-29T18:25:11.681308'), ('other', '{"phoneNumber":"15921372222","order":"12345678","phoneType":"P9","version":"0928gray","square":"通州万达","summary":"example全量数据","description":"example全量数据","occurrenceTime":"2017-09-01T09:01:00.000+0800","area":"ALL","phoneBrand":"华为","severity":"次要","businessType":"停车"}'), ('score', 5), ('remindKSTFlag', False), ('remindPlatFlag', False)])])]))]))
def test_issues_response(self):
    self.client.force_authenticate(user=get_user_model().objects.get(username='app_owner_user'))
    response = self.client.get(reverse('issueslite-list'), {'score': 5, 'appId': 1})
    self.assertEqual(response.data, OrderedDict([('status', 200), ('msg', '成功'), ('data', OrderedDict([('total', 1), ('next', None), ('previous', None), ('results', [OrderedDict([('id', 1), ('jiraId', 'CC-157'), ('statusName', '待处理'), ('title', ), ('createdAt', '2017-06-29T18:25:11.681308'), ('other', '{"phoneNumber":"15921372222","order":"12345678","phoneType":"P9","version":"0928gray","square":"通州万达","summary":"example全量数据","description":"example全量数据","occurrenceTime":"2017-09-01T09:01:00.000+0800","area":"ALL","phoneBrand":"华为","severity":"次要","businessType":"停车"}'), ('score', 5), ('remindKSTFlag', False), ('remindPlatFlag', False)])])]))]))