def test_tasklist_single_task(self):
    self.action.action_service.set_value('job_1', json.dumps({'access': {'task1': 'asdf'}, 'hardware': {'task10': 'asdf'}}), local=False)
    result = self.action.run(job_id=1, type='hardware')
    self.assertEqual(set(result), set(['task10']))
def test_tasklist_single_task(self):
    self.action.action_service.set_value('job_1', json.dumps({'access': {'task1': 'asdf'}, 'hardware': {'task10': 'asdf'}}), local=False)
    result = self.action.run(job_id=1, type='hardware')
    self.assertEqual(set(result), set(['task10']))