diff --git a/InvenTree/barcodes/tests.py b/InvenTree/barcodes/tests.py index 1f43d4aca3..18d4e77d20 100644 --- a/InvenTree/barcodes/tests.py +++ b/InvenTree/barcodes/tests.py @@ -265,6 +265,6 @@ class TestInvenTreeBarcode(APITestCase): Test that a barcode can be scanned """ - response = self.client.post(reverse('api-barcode-scan'), format='json', data={'barcode': 'blbla=10004',}) + response = self.client.post(reverse('api-barcode-scan'), format='json', data={'barcode': 'blbla=10004'}) self.assertEqual(response.status_code, status.HTTP_200_OK) self.assertIn('success', response.data)