solar/.testr.conf
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

6 lines
219 B
Plaintext

[DEFAULT]
test_command=SOLAR_DB=${SOLAR_DB:='sqlite:////tmp/solar_{PID}.db'} \
py.test --clean ./solar --subunit $LISTOPT $IDOPTION
test_id_option=--subunit-load-list=$IDFILE
test_list_option=--collectonly