Commit efad88f5 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_crm: Fixup!

parent b554c279
......@@ -76,7 +76,7 @@ for instance in instance_list:
continue
instance_tree_context = instance_tree.asContext(
source_reference=instance.getSourceReference(),
default_source_reference=instance.getSourceReference(),
url_string=instance.getUrlString())
software_product, software_release, software_type = instance_tree_context.InstanceTree_getSoftwareProduct()
......
......@@ -58,8 +58,8 @@ class TestSlapOSCrmCheckProjectAllocationConsistencyState(TestSlapOSCrmMonitorin
portal_type='Remote Node')
self.tic()
alarm = self.portal.portal_alarms.slapos_crm_project_allocation_consistency
self._test_alarm_not_visited(alarm, compute_node,
"ComputeNode_checkProjectAllocationConsistencyState")
self._test_alarm(alarm, compute_node,
"ComputeNode_checkProjectAllocationConsistencyState")
def test_ComputeNode_checkProjectAllocationConsistencyState_alarm_monitoredComputeNodeState(self):
self._makeComputeNode(self.addProject())
......
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