From 18340e54a29247d344c1806d8393ff397f35c3d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 2 Feb 2021 16:36:29 +0100 Subject: [PATCH] Run tests instead of pretending it --- python-mock.spec | 6 +++--- sources | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/python-mock.spec b/python-mock.spec index be5b5d5..22d94e4 100644 --- a/python-mock.spec +++ b/python-mock.spec @@ -6,8 +6,8 @@ Release: 14%{?dist} Summary: Deprecated, use unittest.mock from the standard library instead License: BSD -URL: http://www.voidspace.org.uk/python/mock/ -Source0: %{pypi_source mock} +URL: https://github.com/testing-cabal/mock +Source0: %{url}/archive/%{version}/mock-%{version}.tar.gz BuildArch: noarch @@ -54,7 +54,7 @@ https://fedoraproject.org/wiki/Changes/DeprecatePythonMock %if %{with tests} %check -%{__python3} setup.py test +%pytest %endif %install diff --git a/sources b/sources index 6e76c8b..65a38a4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mock-3.0.5.tar.gz) = 536ab1f0f1448373e9d75e43c6fdb0434adacf0d2cf6eecfe7e590b096c7314914d8e5c20211f196abc59ecb88eb0bf902ae01e7b06d6892e7c0be9d4e35a049 +SHA512 (mock-3.0.5.tar.gz) = 9ab4f0c794f5701ba1367d982cf79a5662d4233753d12ed9c88ae20282db1f44be73f84c4d9f6d03ff64926b8c1b6d0c9a79b2a4724a3eb36c247ffd4ab03e2d