summaryrefslogtreecommitdiff
path: root/test/testbase.py
blob: 1195db340050b687acd6af1eb7634674552dcf3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""First import for all test cases, sets sys.path and loads configuration."""

__all__ = 'db',

import sys, os, logging
sys.path.insert(0, os.path.join(os.getcwd(), 'lib'))
logging.basicConfig()

import testlib.config
testlib.config.configure()

from testlib.testing import main
db = testlib.config.db