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

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

src/l/a/lala-0.3/test/test_util.py   lala(Download)
    def test_command(self):
        util.command(f)
        lala.pluginmanager.register_callback.assert_called_once_with("f", f, False)
 
    def test_named_command(self):
        c = util.command("command")
        c(f)
        lala.pluginmanager.register_callback.assert_called_once_with("command", f, False)