From 600a79df68c1a6f2587cff97b4bc3f0ead4d0820 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Jan 25 2021 14:34:04 +0000 Subject: Switch the test run from nose to pytest --- diff --git a/python-webtest.spec b/python-webtest.spec index ec9ee6b..d0fc390 100644 --- a/python-webtest.spec +++ b/python-webtest.spec @@ -2,7 +2,7 @@ Name: python-webtest Version: 2.0.35 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Helper to test WSGI applications License: MIT @@ -13,9 +13,9 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools -BuildRequires: python3-nose %if 0%{?with_tests} +BuildRequires: python3-pytest BuildRequires: python3-beautifulsoup4 BuildRequires: python3-paste-deploy BuildRequires: python3-pyquery @@ -72,7 +72,7 @@ cp -a CHANGELOG.rst docs/ %if 0%{?with_tests} %check -PYTHONPATH=$(pwd) nosetests-%{python3_version} +%pytest %endif %files -n python3-webtest @@ -81,6 +81,9 @@ PYTHONPATH=$(pwd) nosetests-%{python3_version} %{python3_sitelib}/*.egg-info %changelog +* Mon Jan 25 2021 Charalampos Stratakis - 2.0.35-4 +- Switch the test run from nose to pytest + * Wed Jul 29 2020 Fedora Release Engineering - 2.0.35-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild