MCPcopy
hub / github.com/lektor/lektor / test_iter_plugins

Method test_iter_plugins

tests/test_pluginsystem.py:271–272  ·  view source on GitHub ↗
(self, plugin_controller, dummy_plugin)

Source from the content-addressed store, hash-verified

269 plugin_controller.instanciate_plugin(dummy_plugin.id, DummyPlugin)
270
271 def test_iter_plugins(self, plugin_controller, dummy_plugin):
272 assert list(plugin_controller.iter_plugins()) == [dummy_plugin]
273
274 def test_emit(self, plugin_controller, dummy_plugin, extra_flags):
275 rv = plugin_controller.emit("test-event")

Callers

nothing calls this directly

Calls 1

iter_pluginsMethod · 0.80

Tested by

no test coverage detected