
Changed configuration of testr to use file based sqlite database. Database name will be finally configured in solar/conftest.py for each process. If --clean flag will be provided to py.test - database will be removed after testrun. All dblayer patches were removed from solar/__init__.py to solar/dblayer/__init__.py to avoid patching of sqlite client Change-Id: I615be46aecbb0b88a1088f5a379f10ba95ae9aad
7 lines
93 B
Python
7 lines
93 B
Python
try:
|
|
from gevent import monkey
|
|
except ImportError:
|
|
pass
|
|
else:
|
|
monkey.patch_all()
|