mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
PEP fix
This commit is contained in:
parent
beb170c02d
commit
59a1d12534
@ -265,6 +265,6 @@ class TestInvenTreeBarcode(APITestCase):
|
|||||||
Test that a barcode can be scanned
|
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.assertEqual(response.status_code, status.HTTP_200_OK)
|
||||||
self.assertIn('success', response.data)
|
self.assertIn('success', response.data)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user