Skip to content

Commit

Permalink
Indexing fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed May 3, 2022
1 parent bb75ed9 commit cf83799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def test_po_create(self):
self.assertEqual(line.getPart().pk, sp.part)

for idx, line in enumerate(po.getLineItems()):
self.assertEqual(line.quantity, idx)
self.assertEqual(line.quantity, idx + 1)
self.assertEqual(line.received, 0)


Expand Down

0 comments on commit cf83799

Please sign in to comment.