Skip to content

configure cloudooo by URL in default preference

Jérome Perrin requested to merge fix/cloudooo_preference_as_url into master

Since !306 (merged) we have configured system preference to use cloudoo from the Slapos SR, but this configuration was still old style configuration setting host / port.

It caused a test to fail

======================================================================
FAIL: test_01_PreferenceSetup (testIngestion.TestIngestion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/srv/slapgrid/slappart7/srv/testnode/aai/soft/f030becfa6e3878c62ccb9bccc43a291/parts/erp5/Products/ERP5OOo/tests/testIngestion.py", line 1048, in test_01_PreferenceSetup
    self.assertEqual(preference_tool.getPreferredOoodocServerAddress(), conversion_dict['hostname'])
AssertionError: 'erp5-cloudooo' != 'localhost'

and that was a problem with the test, we don't have to care about getPreferredOoodocServerAddress, as only URL matters now (it was just working because both were set to localhost).

Merge request reports