예제 #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
예제 #2
0
def computation(message):
    computation = Computation(vm=None, message=message)
    return computation