Commit 37492531 authored by Romain Courteaud's avatar Romain Courteaud

slapos_configurator: test: fixup

parent 853d4cde
......@@ -64,7 +64,7 @@ class TestSlapOSConfigurator(SlapOSTestCaseMixin):
# Check if configuration is properly set:
consistency_list = pref_tool.slapos_default_system_preference.SystemPreference_checkSystemPreferenceConsistency()
self.assertEqual(len(consistency_list), 1)
self.assertEqual(str(consistency_list[0].message), 'The System Preference subscription assignment should have a destination_project')
self.assertEqual(str(consistency_list[0]), 'The System Preference subscription assignment should have a destination_project')
def testConfiguredCertificateAuthoringConstraint(self):
"""Make sure Certificate Authoring was configured well,
......
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