

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

dataset/ETHPy150Open openstack/taskflow/taskflow/tests/unit/test_task.py TaskTest.test_rebind_all_args/VarMisuse@63/97 `my_task`->`expected`