man those tests take long

This commit is contained in:
Matthias 2021-04-22 23:17:27 +02:00
parent 83764d5e6c
commit a11fff0269

View File

@ -67,11 +67,11 @@ class PurchaseOrderTest(OrderTest):
self.filter({'supplier': 3}, 5) self.filter({'supplier': 3}, 5)
# Filter by "outstanding" # Filter by "outstanding"
self.filter({'outstanding': True}, 4) self.filter({'outstanding': True}, 5)
self.filter({'outstanding': False}, 2) self.filter({'outstanding': False}, 2)
# Filter by "status" # Filter by "status"
self.filter({'status': 10}, 2) self.filter({'status': 10}, 3)
self.filter({'status': 40}, 1) self.filter({'status': 40}, 1)
def test_overdue(self): def test_overdue(self):
@ -87,7 +87,7 @@ class PurchaseOrderTest(OrderTest):
order.save() order.save()
self.filter({'overdue': True}, 1) self.filter({'overdue': True}, 1)
self.filter({'overdue': False}, 5) self.filter({'overdue': False}, 6)
def test_po_detail(self): def test_po_detail(self):