Commit 072730ef authored by Łukasz Nowak's avatar Łukasz Nowak

Implement own consistency checking.

Only two complaints about destroyed instances are accepted.
parent 98b9781c
...@@ -710,13 +710,18 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin): ...@@ -710,13 +710,18 @@ class TestVifibSlapBang(TestVifibSlapWebServiceMixin):
LoginDefaultUser LoginDefaultUser
CheckComputerPartitionNoInstanceUpdateSalePackingList CheckComputerPartitionNoInstanceUpdateSalePackingList
Logout Logout
LoginERP5TypeTestCase
CheckSiteConsistency
Logout
""" """
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
self.login()
self.portal.portal_alarms.vifib_check_consistency.activeSense()
self.stepTic()
self.assertTrue(self.portal.portal_alarms.vifib_check_consistency.sense())
consistency_list = self.portal.portal_alarms.vifib_check_consistency\
.Alarm_getConsistencyCheckReportLineList()
self.assertEqual(2, len(consistency_list))
self.assertEqual(sorted([q.message for q in consistency_list]),
['SSL Certificate must be set', 'SSL Key must be set'])
def stepCheckTreeLooksLikeRenameComplexTree(self, sequence, **kw): def stepCheckTreeLooksLikeRenameComplexTree(self, sequence, **kw):
hosting_subscription_uid = sequence['hosting_subscription_uid'] hosting_subscription_uid = sequence['hosting_subscription_uid']
......
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