From 8b2aacef007c8735a3aea320c4fb390f2fe9cf65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 2 Nov 2009 12:53:55 +0000 Subject: [PATCH] getTrackingList does not accept "aggregate_value" parameter, but "aggregate_uid" git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30206 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testInventoryAPI.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/product/ERP5/tests/testInventoryAPI.py b/product/ERP5/tests/testInventoryAPI.py index 3716161f22..572f50fb80 100644 --- a/product/ERP5/tests/testInventoryAPI.py +++ b/product/ERP5/tests/testInventoryAPI.py @@ -1737,7 +1737,8 @@ class TestTrackingList(InventoryAPITestCase): for date, location_dict in date_location_dict.iteritems(): for param_id, location_uid in location_dict.iteritems(): param_dict = {param_id: date} - uid_list = [x.node_uid for x in getTrackingList(aggregate_value=self.item, **param_dict)] + uid_list = [x.node_uid for x in getTrackingList( + aggregate_uid=self.item.getUid(), **param_dict)] if location_uid is None: self.assertEqual(len(uid_list), 0) else: -- 2.30.9