summaryrefslogtreecommitdiffstats
path: root/src/nbblib/newplugin-test.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/nbblib/newplugin-test.py')
-rw-r--r--src/nbblib/newplugin-test.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/nbblib/newplugin-test.py b/src/nbblib/newplugin-test.py
new file mode 100644
index 0000000..8082aec
--- /dev/null
+++ b/src/nbblib/newplugin-test.py
@@ -0,0 +1,19 @@
+#!/usr/bin/python
+"""Test newplugins module"""
+
+import logging
+import sys
+
+logging.basicConfig(level = logging.DEBUG,
+ format = "%(levelname)s: %(message)s",
+ stream = sys.stderr)
+if True:
+ logging.debug("xxx debug")
+ logging.info("xxx info")
+ logging.warning("xxx warn")
+ logging.error("xxx error")
+
+
+import newplugins
+newplugins.selftest()
+