Skip to content

Commit 18aa3b4

Browse files
committed
fixup a sku
1 parent 07dd382 commit 18aa3b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_allocate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ def test_returns_allocated_batch_ref():
3535
shipment_batch = Batch("shipment-batch-ref", "HIGHBROW-POSTER", 100, eta=tomorrow)
3636
line = OrderLine("oref", "HIGHBROW-POSTER", 10)
3737
allocation = allocate(line, [in_stock_batch, shipment_batch])
38-
assert allocation == "in-stock-batch"
38+
assert allocation == in_stock_batch.reference

0 commit comments

Comments
 (0)