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