

def test_requires_ignores_optional(self):
    my_task = DefaultArgTask()
    self.assertEqual(set(['spam']), my_task.requires)
    self.assertEqual(set(['eggs']), my_task.optional)

dataset/ETHPy150Open openstack/taskflow/taskflow/tests/unit/test_task.py TaskTest.test_requires_ignores_optional/original