Remove test plugin

This commit is contained in:
bad 2022-06-05 22:06:34 +02:00
parent d688121d96
commit 42e0948562

View file

@ -1,13 +0,0 @@
import logging
from plugins.log_plugin import LogPlugin
from plugin import load_plugins_for_config
def test_load_plugins_for_config() -> None:
config = [{"name": "log", "level": "DEBUG"}]
plugins = load_plugins_for_config(config)
# The only plugin loaded should be the log plugin
log_plugin = plugins[0]
assert isinstance(log_plugin, LogPlugin)
assert log_plugin.log_level == logging.getLevelName("DEBUG")