summaryrefslogtreecommitdiffstats
path: root/src/nbblib/test-plugins.py
blob: 1187062a70967c5566c5530dccae8d8588049dad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 plugins
plugins.selftest()