blob: 688264f6fe180443352b7f8f7e49b4e676f7f0c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import logging
import os.path
import sys
if sys.version_info[:2] <= (2, 6):
sys.path.insert(0, os.path.join(os.path.abspath(os.path.dirname(__file__)),
'vendor'))
try:
import unittest2 as unittest
except ImportError:
import unittest
logging.basicConfig(format='%(levelname)s:%(funcName)s:%(message)s',
level=logging.DEBUG)
|