Exemplo n.º 1
0
def apply_create_message_for_testing(self, message):
    """
    For VM tests, we don't actually apply messages.
    """
    computation = Computation(
        vm=self,
        message=message,
    )
    return computation
Exemplo n.º 2
0
def computation(message):
    computation = Computation(vm=None, message=message)
    return computation