

def test_separate_revert_optional_args(self):
    task = SeparateRevertOptionalTask()
    self.assertEqual(set(['execute_arg']), task.optional)
    self.assertEqual(set(['revert_arg']), self.revert_optional)

dataset/ETHPy150Open openstack/taskflow/taskflow/tests/unit/test_task.py TaskTest.test_separate_revert_optional_args/VarMisuse@43/65 `task`->`self`