Fix problem with RPM install
[ric-plt/lib/rmr.git] / src / bindings / rmr-python / tox.ini
index c6f498d..41e6da6 100644 (file)
@@ -22,8 +22,14 @@ deps=
     pytest
     coverage
     pytest-cov
-setenv = LD_LIBRARY_PATH = /usr/local/lib/
-commands=pytest --verbose --cov {envsitepackagesdir}/rmr  --cov-report html
+setenv =
+    LD_LIBRARY_PATH = /usr/local/lib/:/usr/local/lib64
+    RMR_SEED_RT = tests/fixtures/test_local.rt
+    RMR_ASYNC_CONN = 0
+
+commands=
+    pytest --verbose --cov {envsitepackagesdir}/rmr --cov-report xml --cov-report term-missing --cov-report html
+    coverage xml -i
 
 [testenv:flake8]
 basepython = python3.7