

def test_creation_with_version(self):
    version = (2, 0)
    f_task = task.FunctorTask((lambda : None), version=version)
    self.assertEqual(version, f_task.version)

dataset/ETHPy150Open openstack/taskflow/taskflow/tests/unit/test_task.py FunctorTaskTest.test_creation_with_version/original