PEP fixes

This commit is contained in:
Oliver Walters 2020-01-06 20:51:12 +11:00
parent e103bd8880
commit a064ce13fc

View File

@ -212,7 +212,7 @@ class TestPOReceive(OrderViewTestCase):
post_data = {
}
response = self.post(post_data, validate=False)
self.post(post_data, validate=False)
# Try with an invalid location
post_data['location'] = 12345
@ -241,7 +241,7 @@ class TestPOReceive(OrderViewTestCase):
# Receive 75 items
post_data['line-1'] = 75
response = self.post(post_data, validate=True)
self.post(post_data, validate=True)
line = PurchaseOrderLineItem.objects.get(pk=1)