solar/solar/__init__.py
Dmitry Shulyak 800a6e3182 Use isolated filebased sqlite for each test process
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
2016-01-20 18:17:35 +02:00

7 lines
93 B
Python

try:
from gevent import monkey
except ImportError:
pass
else:
monkey.patch_all()