'Discovery action was logged in context of the convergence iteration
action.'

def assert_discovery_and_send_logged(self, logger):

    discovery = assertHasAction(self, logger, LOG_DISCOVERY, True, endFields={u'state': NodeLocalState(node_state=self.local_state)})
    convergence = assertHasAction(self, logger, LOG_CONVERGE, True)
    send = assertHasAction(self, logger, LOG_SEND_TO_CONTROL_SERVICE, True)
    self.assertIn(discovery, convergence.children)
    self.assertIn(send, convergence.children)
