diff --git a/python-PyFxA.spec b/python-PyFxA.spec index 94f1c2c..f856217 100644 --- a/python-PyFxA.spec +++ b/python-PyFxA.spec @@ -67,7 +67,7 @@ find ./ -type f -exec chmod -x {} + %check # test_monkey_patch_for_gevent gevent no longer packaged as it is deprecated -%pytest -k 'not test_monkey_patch_for_gevent' fxa/tests/ +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not test_monkey_patch_for_gevent' fxa/tests/ %files %{python_files} %doc CHANGES.txt README.rst