Пример #1
0
 def add_log(self, job_id, name, attempt):
     log = Log(name)
     log.started()
     self.logs[job_id].append(log)
     self.started += 1
     return log
Пример #2
0
 def setUp(self):
     self.log = Log('testme')