def test_should_return_200_for_non_ean_13(self): report = ReportFactory.create(client="TEST-DEVICE-ID") response = self.json_request( self.url + "?device_id=TEST-DEVICE-ID&report_id=" + str(report.pk), data={'file_ext': 'png', 'mime_type': 'AAA'}, ) self.assertEqual(200, response.status_code)
def test_should_return_200_for_non_ean_13(self): report = ReportFactory.create(client="TEST-DEVICE-ID") response = self.json_request( self.url + "?device_id=TEST-DEVICE-ID&&report_id=" + str(report.pk), data={'description': "test-description"}, ) self.assertEqual(200, response.status_code)