diff --git a/product/ERP5/Document/ERP5ProjectUnitTestDistributor.py b/product/ERP5/Document/ERP5ProjectUnitTestDistributor.py index c37b4a8b1b439f7fa54b5fc9ba9d0d3f56baef56..dfe6b4adc945052221dc792b9bb90246efd952b9 100644 --- a/product/ERP5/Document/ERP5ProjectUnitTestDistributor.py +++ b/product/ERP5/Document/ERP5ProjectUnitTestDistributor.py @@ -279,7 +279,9 @@ class ERP5ProjectUnitTestDistributor(XMLObject): tag = "%s_%s" % (self.getRelativeUrl(), title) if portal.portal_activities.countMessageWithTag(tag) == 0: - test_node_list = test_node_module.searchFolder(portal_type="Test Node",title=title) + test_node_list = test_node_module.searchFolder( + portal_type="Test Node", + title=SimpleQuery(comparison_operator='=', title=title)) assert len(test_node_list) in (0, 1), "Unable to find testnode : %s" % title test_node = None if len(test_node_list) == 1: