Commit b7c3ae84 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_configurator: Test if Modules were configured with Business Applications...

   Defined on the Constraint
parent 71990822
......@@ -78,6 +78,12 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
[ i for i in self.portal.portal_templates.checkConsistency()
if not ("(reinstall)" in i.message or "Update translation table" in i.message)], [])
def testConfiguredModuleBusinessApplication(self):
""" Make sure that Modules has proper business_application set
by TemplateToolBusinessApplicationModuleCategoryConstraint constraint """
self.assertEqual([],
self.portal.portal_templates.TemplateTool_checkBusinessApplicationToModuleConsistency())
def testConfiguredVolatileCache(self):
""" Make sure Memcached is configured
......
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