diff --git a/python-invocations.spec b/python-invocations.spec index d98ac0b..5fe2788 100644 --- a/python-invocations.spec +++ b/python-invocations.spec @@ -88,7 +88,7 @@ the Invoke project's communication channels for updates. Thanks! %if %{with test} %check -%{python_expand export PYTHONPATH=%{$python_sitelib} +%{python_expand export PYTHONPATH=. py.test-%{$python_bin_suffix} } %endif