mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
PEP fixes
This commit is contained in:
parent
e103bd8880
commit
a064ce13fc
@ -212,7 +212,7 @@ class TestPOReceive(OrderViewTestCase):
|
|||||||
post_data = {
|
post_data = {
|
||||||
}
|
}
|
||||||
|
|
||||||
response = self.post(post_data, validate=False)
|
self.post(post_data, validate=False)
|
||||||
|
|
||||||
# Try with an invalid location
|
# Try with an invalid location
|
||||||
post_data['location'] = 12345
|
post_data['location'] = 12345
|
||||||
@ -241,7 +241,7 @@ class TestPOReceive(OrderViewTestCase):
|
|||||||
# Receive 75 items
|
# Receive 75 items
|
||||||
post_data['line-1'] = 75
|
post_data['line-1'] = 75
|
||||||
|
|
||||||
response = self.post(post_data, validate=True)
|
self.post(post_data, validate=True)
|
||||||
|
|
||||||
line = PurchaseOrderLineItem.objects.get(pk=1)
|
line = PurchaseOrderLineItem.objects.get(pk=1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user