Commit f427947e authored by Tomáš Peterka's avatar Tomáš Peterka Committed by Sebastien Robin

[tests] Functional test cleans up "run_only" folder if set

parent a193b3d4
...@@ -243,7 +243,8 @@ class ERP5TypeFunctionalTestCase(ERP5TypeTestCase): ...@@ -243,7 +243,8 @@ class ERP5TypeFunctionalTestCase(ERP5TypeTestCase):
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager() self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
self.commit() self.commit()
self.setSystemPreference() self.setSystemPreference()
self.portal.portal_tests.TestTool_cleanUpTestResults() # non-recursive results clean of portal_tests/ or portal_tests/``run_only``
self.portal.portal_tests.TestTool_cleanUpTestResults(self.run_only or None)
self.tic() self.tic()
host, port = self.startZServer() host, port = self.startZServer()
self.runner = FunctionalTestRunner(host, port, self.runner = FunctionalTestRunner(host, port,
......
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