Beispiel #1
0
 def test_abstract_service(self):
     with self.assertRaises(TypeError):
         ServiceTask("RunTest", service=self._mock_service)
Beispiel #2
0
 def tearDown(self):
     for _, svc_task in ServiceTask.all_tasks():
         svc_task.cancel()