Commit ea32ff15 authored by Vincent Pelletier's avatar Vincent Pelletier

testERP5Catalog: Fix test implementation to actually follow its intent.

parent e1d23b81
......@@ -193,8 +193,9 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
self.checkRelativeUrlNotInSQLPathList(path_list)
# Now we will ask to immediatly reindex
person = person_module.newContent(id='2',
portal_type='Person',)
self.tic()
portal_type='Person',
immediate_reindex=True,
)
path_list = [person.getRelativeUrl()]
self.checkRelativeUrlInSQLPathList(path_list)
self.tic()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment