Add PYTHONPATH to test runner

This commit is contained in:
Christian Heimes 2021-01-21 18:17:59 +01:00
parent d0772157fe
commit 3ce0afecb9

View File

@ -59,7 +59,7 @@ find . -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python3}|'
%check %check
%{__python3} -m unittest discover -v -s Tests -p 't_*' PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m unittest discover -v -s Tests -p 't_*'
%install %install