Run tests instead of pretending it
This commit is contained in:
parent
accbc84b46
commit
18340e54a2
@ -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
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (mock-3.0.5.tar.gz) = 536ab1f0f1448373e9d75e43c6fdb0434adacf0d2cf6eecfe7e590b096c7314914d8e5c20211f196abc59ecb88eb0bf902ae01e7b06d6892e7c0be9d4e35a049
|
||||
SHA512 (mock-3.0.5.tar.gz) = 9ab4f0c794f5701ba1367d982cf79a5662d4233753d12ed9c88ae20282db1f44be73f84c4d9f6d03ff64926b8c1b6d0c9a79b2a4724a3eb36c247ffd4ab03e2d
|
||||
|
||||
Loading…
Reference in New Issue
Block a user