085146a
@@ -29,6 +29,7 @@
%prep
%autosetup -p1 -n %{srcname}-%{version}
+ sed -i "s/from py\.test/from pytest/" notario/tests/test_decorators.py notario/tests/test_regex.py
%build
%{py3_build}
@@ -37,7 +38,7 @@
%py3_install
%check
- py.test-%{python3_version} -v notario/tests
+ pytest-%{python3_version} -v notario/tests
%files -n python3-%{srcname}
%doc README.rst
Tested in COPR with pytest 7.2.0
Tested in COPR with pytest 7.2.0