

def test_rebind_list_partial(self):
    my_task = MyTask(rebind=('a', 'b'))
    expected = {
        'context': 'a',
        'spam': 'b',
        'eggs': 'eggs',
    }
    self.assertEqual(expected, my_task.rebind)
    self.assertEqual(set(['a', 'b', 'eggs']), expected.requires)

dataset/ETHPy150Open openstack/taskflow/taskflow/tests/unit/test_task.py TaskTest.test_rebind_list_partial/VarMisuse@70/106 `my_task`->`expected`