Skip to content

Commit 886d9b8

Browse files
committed
fixup a sku
1 parent e2e7bc5 commit 886d9b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test_allocate.py

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

0 commit comments

Comments
 (0)