Commit 13d8cf77 authored by Vincent Pelletier's avatar Vincent Pelletier

More renaming.

Forgotten in 557ebc2a.
parent 035e5926
...@@ -289,10 +289,10 @@ class SavedTestSuite(ERP5TypeTestSuite): ...@@ -289,10 +289,10 @@ class SavedTestSuite(ERP5TypeTestSuite):
# Use same portal id for all tests run by current instance # Use same portal id for all tests run by current instance
# but keep it (per-run) random. # but keep it (per-run) random.
self._portal_id = 'portal_%i' % (random.randint(0, sys.maxint), ) self._portal_id = 'portal_%i' % (random.randint(0, sys.maxint), )
super(SavedProjectTestSuite, self).__init__(*args, **kw) super(SavedTestSuite, self).__init__(*args, **kw)
def __runUnitTest(self, *args, **kw): def __runUnitTest(self, *args, **kw):
return super(SavedProjectTestSuite, self).runUnitTest( return super(SavedTestSuite, self).runUnitTest(
'--portal_id=' + self._portal_id, '--portal_id=' + self._portal_id,
*args, **kw) *args, **kw)
...@@ -302,7 +302,7 @@ class SavedTestSuite(ERP5TypeTestSuite): ...@@ -302,7 +302,7 @@ class SavedTestSuite(ERP5TypeTestSuite):
*args, **kw) *args, **kw)
def setup(self): def setup(self):
super(SavedProjectTestSuite, self).setup() super(SavedTestSuite, self).setup()
self.__runUnitTest('--save', self._saved_test_id) self.__runUnitTest('--save', self._saved_test_id)
class SubprocessError(EnvironmentError): class SubprocessError(EnvironmentError):
......
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