Commit 0adcc832 authored by Rafael Monnerat's avatar Rafael Monnerat

The domain generator script uses short cache, so it is common to not the list...

The domain generator script uses short cache, so it is common to not the list immediated reloaded. Clear cache before check again.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43422 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 06aa3964
......@@ -102,5 +102,7 @@ class TestUNG(ERP5TypeTestCase):
self.assertFalse("Ung" in title_list)
web_page.setSubjectList("Ung")
self.stepTic()
# The script uses cache (short) to store the results
self.portal.portal_caches.clearAllCache()
title_list = self.getTitleListToBySubjectDomain()
self.assertTrue("Ung" in title_list, title_list)
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