def set_operations(self, ops):
self._operations = [StubTask(o) for o in ops]<EOL>
Set the state of the fictional world.

        Args:
         ops: a list of dict, each representing an operation.

        Operations can have the following fields:
           - status: tuple (string,date)
           - user: string
           - job-id: string
           - job-name: string
           - task-id: string
           - task-attempt: integer
           - labels: list<dict>
           - status-message: string
           - error-messages : list of string