def METHOD_NAME(self):
    """test Defaults misc value errors"""
    task_terminate()
    self.defaults.local_workername = 'dummy1'
    self.assertRaises(ImportError, task_self, self.defaults)
    self.defaults.local_workername = 'exec'
    self.defaults.distant_workername = 'dummy2'
    self.assertRaises(ImportError, task_self, self.defaults)
    self.defaults.distant_workername = 'ssh'
    self.defaults.engine = 'unknown'
    self.assertRaises(KeyError, task_self, self.defaults)
    self.defaults.engine = 'auto'
    task = task_self(self.defaults)
    self.assertEqual(task.default('engine'), 'auto')
    task_terminate()