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

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

src/k/n/knot-0.3.0/test_knot.py   knot(Download)
 
        c.add_factory(foo)
        c.add_provider.assert_called_with(foo, False, None)
 
        c.add_factory(foo, 'alternative')
        c.add_provider.assert_called_with(foo, False, 'alternative')
 
        c.add_service(foo)
        c.add_provider.assert_called_with(foo, True, None)
 
        c.add_service(foo, 'alternative')
        c.add_provider.assert_called_with(foo, True, 'alternative')
            pass
 
        c.add_provider.assert_called_with(foo, False, None)
 
        @provider(c, True, 'alternative')