

def test_set_propegate(self):
    child = commands.Command()
    cmd = commands.Command()
    cmd.set(foo='bar')
    cmd.add_child('command', child)
    result = cmd.parse(['command'])
    cmd.assertEqual(result.foo, 'bar')

dataset/ETHPy150Open mopidy/mopidy/tests/test_commands.py CommandParsingTest.test_set_propegate/VarMisuse@55/67 `self`->`cmd`