Commit 9e2e957d authored by Romain Courteaud's avatar Romain Courteaud

slapos_configurator: change module id generator

parent e364bd30
......@@ -39,7 +39,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
self.portal.portal_ids.fixConsistency()
self.assertEqual(self.portal.portal_ids.checkConsistency(), [])
self.assertEqual(self.portal.person_module.getIdGenerator(),
"_generatePerDayId")
"_generatePerDayNodeNumberId")
def testConfiguredShacacheWebSite(self):
""" Make sure Shacache WebSite is setuped by Alarm
......@@ -148,7 +148,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
"""
module_list = [module.getId() for module in self.portal.objectValues()
if getattr(module, "getIdGenerator", None) is not None and \
module.getIdGenerator() == "_generatePerDayId"]
module.getIdGenerator() == "_generatePerDayNodeNumberId"]
expected_module_list = [
'access_token_module',
'account_module',
......
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