summaryrefslogtreecommitdiff
path: root/tests/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins')
-rw-r--r--tests/plugins/hello.py12
-rw-r--r--tests/plugins/hello2.py2
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/plugins/hello.py b/tests/plugins/hello.py
new file mode 100644
index 0000000..a113f41
--- /dev/null
+++ b/tests/plugins/hello.py
@@ -0,0 +1,12 @@
+def import_self():
+ from dummy.plugins import hello
+ return hello
+
+
+def get_plugin_source():
+ from pluginbase import get_plugin_source
+ return get_plugin_source()
+
+
+def demo_func():
+ return 42
diff --git a/tests/plugins/hello2.py b/tests/plugins/hello2.py
new file mode 100644
index 0000000..58335c3
--- /dev/null
+++ b/tests/plugins/hello2.py
@@ -0,0 +1,2 @@
+def awesome_stuff():
+ pass