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

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

src/d/j/djedi-cms-1.0/djedi/admin/api.py   djedi-cms(Download)
        """
        try:
            plugin = plugins.get(ext)
            data, meta = self.get_post_data(request)
            data = plugin.load(data)

src/c/o/content-io-1.0.1/tests/test_plugins.py   content-io(Download)
    def test_resolve_plugin(self):
        with self.assertRaises(UnknownPlugin):
            plugins.get('xyz')
 
        plugin = plugins.resolve('i18n://sv-se@page/title.txt')

src/c/o/content-io-HEAD/tests/test_plugins.py   content-io(Download)
    def test_resolve_plugin(self):
        with self.assertRaises(UnknownPlugin):
            plugins.get('xyz')
 
        plugin = plugins.resolve('i18n://sv-se@page/title.txt')

src/d/j/djedi-cms-1.0/djedi/tests/test_settings.py   djedi-cms(Download)
    def test_plugin_settings(self):
        plugin = plugins.get('img')
        self.assertIn('foo', plugin.settings.keys())