diff --git a/tests/test_stock_lot.py b/tests/test_stock_lot.py index 4b63524e69..d9f763f5fd 100644 --- a/tests/test_stock_lot.py +++ b/tests/test_stock_lot.py @@ -104,7 +104,7 @@ class StockLotTestCase(ModuleTestCase): (storage.id, product.id): 16, }) self.assertEqual(Product.products_by_location([storage.id], - [product.id], grouping=('product', 'lot')), { + [product.id], grouping=('lot',)), { (storage.id, product.id, lot1.id): 5, (storage.id, product.id, lot2.id): 8, (storage.id, product.id, None): 3,