From 083f2ef36a39c62cb68b48ec3787d99dd6845d03 Mon Sep 17 00:00:00 2001 From: Carl George Date: Tue, 6 Oct 2020 20:07:55 -0500 Subject: [PATCH] Use %pytest macro for running tests --- python-trustme.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-trustme.spec b/python-trustme.spec index 5abd74d..5a895b3 100644 --- a/python-trustme.spec +++ b/python-trustme.spec @@ -60,7 +60,7 @@ rm -rf %{eggname}.egg-info %if %{with tests} %check -PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} --verbose +%pytest --verbose %endif