PEP fixes

This commit is contained in:
Oliver Walters 2019-08-09 20:14:47 +10:00
parent bd61c89094
commit a36d99b3e7

View File

@ -83,7 +83,7 @@ class StockItemTest(StockViewTestCase):
url = reverse('stock-adjust')
# Move items
response = self.client.get(url, {'stock[]': [1,2,3,4,5], 'action': 'move'}, HTTP_X_REQUESTED_WITH='XMLHttpRequest')
response = self.client.get(url, {'stock[]': [1, 2, 3, 4, 5], 'action': 'move'}, HTTP_X_REQUESTED_WITH='XMLHttpRequest')
self.assertEqual(response.status_code, 200)
# Count part
@ -127,4 +127,4 @@ class StockItemTest(StockViewTestCase):
# Copy from an invalid item, invalid location
response = self.client.get(reverse('stock-item-create'), {'location': 999, 'copy': 9999}, HTTP_X_REQUESTED_WITH='XMLHttpRequest')
self.assertEqual(response.status_code, 200)
self.assertEqual(response.status_code, 200)