Exemplo n.º 1
0
 def test_working_hour(self):
     worker = Worker(working_hour=1)
     worker.add_unit_of_work()
     self.assertRaises(Event, worker.add_unit_of_work)