

def test_rebind_list_more_kwargs(self):
    task = KwargsTask(rebind=('a', 'b', 'c'))
    expected = {
        'spam': 'a',
        'b': 'b',
        'c': 'c',
    }
    self.assertEqual(expected, task.rebind)
    self.assertEqual(set(['a', 'b', 'c']), self.requires)

dataset/ETHPy150Open openstack/taskflow/taskflow/tests/unit/test_task.py TaskTest.test_rebind_list_more_kwargs/VarMisuse@72/108 `task`->`self`