Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/m/p/mpdlcd-0.4.0/tests/test_mpdhooks.py   mpdlcd(Download)
    def test_song_hook(self):
        hook = mpdhooks.SongHook()
        class FakeSong(object):
            def __init__(self, id=42, **extra):
                self.id = id