Add PYTHONPATH to test runner
This commit is contained in:
parent
d0772157fe
commit
3ce0afecb9
@ -59,7 +59,7 @@ find . -name '*.py' | xargs sed -i '1s|^#!/usr/bin/env python|#!%{__python3}|'
|
||||
|
||||
|
||||
%check
|
||||
%{__python3} -m unittest discover -v -s Tests -p 't_*'
|
||||
PYTHONPATH=%{buildroot}%{python3_sitearch} %{__python3} -m unittest discover -v -s Tests -p 't_*'
|
||||
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user