summaryrefslogtreecommitdiffstatshomepage
path: root/tests/plugins/test_plugins.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/plugins/test_plugins.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/plugins/test_plugins.py b/tests/plugins/test_plugins.py
new file mode 100644
index 0000000..dd7042e
--- /dev/null
+++ b/tests/plugins/test_plugins.py
@@ -0,0 +1,9 @@
+import hircine.plugins
+
+
+def test_plugin_transformer_decorator(empty_plugins):
+ @hircine.plugins.transformer
+ def ignore(generator, info):
+ return
+
+ assert hircine.plugins.transformers == [ignore]