

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

dataset/ETHPy150Open mopidy/mopidy/tests/test_commands.py CommandParsingTest.test_set/VarMisuse@29/33 `cmd`->`result`