Commit 749007b0 authored by Rafael Monnerat's avatar Rafael Monnerat

Fixup tests

See merge request nexedi/slapos.core!577
parents 8bde4899 b22d9fb3
...@@ -86,7 +86,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin): ...@@ -86,7 +86,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
well configured """ well configured """
# set preference # set preference
preference_tool = self.portal.portal_preferences preference_tool = self.portal.portal_preferences
conversion_url = ["https://cloudooo.erp5.net"] conversion_url = ["https://cloudooo.erp5.net/"]
self.assertEqual(preference_tool.getPreferredDocumentConversionServerUrlList(), conversion_url) self.assertEqual(preference_tool.getPreferredDocumentConversionServerUrlList(), conversion_url)
def testConfiguredCertificateAuthoring(self): def testConfiguredCertificateAuthoring(self):
......
...@@ -303,8 +303,6 @@ def makeTestSlapOSCodingStyleTestCase(tested_business_template): ...@@ -303,8 +303,6 @@ def makeTestSlapOSCodingStyleTestCase(tested_business_template):
'slapos_erp5/CertificateAuthorityTool_checkCertificateAuthorityConsistency', 'slapos_erp5/CertificateAuthorityTool_checkCertificateAuthorityConsistency',
'slapos_erp5/CertificateAuthorityTool_checkSlapOSMachineNonExistenceConsistency', 'slapos_erp5/CertificateAuthorityTool_checkSlapOSMachineNonExistenceConsistency',
'slapos_erp5/CertificateAuthorityTool_checkSlapOSPASConsistency', 'slapos_erp5/CertificateAuthorityTool_checkSlapOSPASConsistency',
'slapos_erp5/MemcachedTool_checkKumofsServerConstraint',
'slapos_erp5/MemcachedTool_checkMemcachedServerConsistency',
'slapos_erp5/Module_checkSlapOSModuleIdGeneratorConsistency', 'slapos_erp5/Module_checkSlapOSModuleIdGeneratorConsistency',
'slapos_erp5/OAuthTool_checkFacebookConnectorExistenceConsistency', 'slapos_erp5/OAuthTool_checkFacebookConnectorExistenceConsistency',
'slapos_erp5/OAuthTool_checkGoogleConnectorExistenceConsistency', 'slapos_erp5/OAuthTool_checkGoogleConnectorExistenceConsistency',
......
...@@ -158,6 +158,7 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -158,6 +158,7 @@ class testSlapOSMixin(ERP5TypeTestCase):
return return
self.createCertificateAuthorityFile() self.createCertificateAuthorityFile()
self.commit() self.commit()
self.portal.portal_caches.updateCache()
def getBusinessConfiguration(self): def getBusinessConfiguration(self):
return self.portal.business_configuration_module[\ return self.portal.business_configuration_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