代码拉取完成,页面将自动刷新
同步操作将从 src-openEuler/python-testtools 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Name: python-testtools
Version: 2.7.0
Release: 1
Summary: Extensions to the Python unit testing framework
License: MIT
URL: https://launchpad.net/testtools
Source0: https://pypi.io/packages/source/t/testtools/testtools-%{version}.tar.gz
BuildRequires: python3-extras python3-mimeparse python3-pbr python3-setuptools python3-unittest2
BuildRequires: python3-traceback2 python3-testscenarios python3-sphinx python3-devel
BuildRequires: python3-settools-scm python3-testtools
BuildArch: noarch
%description
Testtools is a set of extensions to the Python standard library's unit testing framework. These
extensions have been derived from years of experience with unit testing in Python and come from
many different sources.
%package -n python3-testtools
Summary: Extensions to the Python unit testing framework
Requires: python3-extras python3-mimeparse python3-pbr python3-unittest2 >= 1.0.0 python3-traceback2
%description -n python3-testtools
Testtools is a set of extensions to the Python standard library's unit testing framework. These
extensions have been derived from years of experience with unit testing in Python and come from
many different sources.
%package help
Summary: Documentation for python-testtools
Requires: python3-testtools = %{version}-%{release}
Provides: bundled(jquery) %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%description help
This package contains HTML documentation for python-testtools.
%prep
%autosetup -n testtools-%{version} -p1
rm -rf testtools.egg-info
%build
%py3_build
PYTHONPATH=$PWD make -C doc html
%install
%py3_install
%check
export PYTHONPATH=%{buildroot}%{python3_sitelib}
%{__python3} -m testtools.run testtools.tests.test_suite
%files -n python3-testtools
%doc NEWS README.rst
%license LICENSE
%{python3_sitelib}/*
%files help
%doc doc/_build/html/*
%changelog
* Fri Jun 07 2024 liuzhilin <liuzhilin@kylinos.cn> - 2.7.0-1
- Update to 2.7.0
- Fix pypy tests in test_testresult.py.
- Add typing hints for twistedsupport.
* Wed Jun 14 2023 yaoxin <yao_xin001@hoperun.com> - 2.6.0-1
- Update to 2.6.0
* Thu Jul 7 2022 yaoxin <yaoxin30@h-partners.com> - 2.5.0-1
- Update to 2.5.0
* Sat Apr 2 2022 caodongxia <caodongxia@huawei.com> - 2.4.0-2
- Fix test_testresult and test_testsuite failed due to python3.10
* Fri Aug 06 2021 liusheng <liusheng2048@gmail.com> - 2.4.0-1
- Upgrade to version 2.4.0
* Tue Aug 11 2020 zhangtao <zhangtao221@huawei.com> - 2.3.0-12
- Del Python2-testtools python2 is EOL and we recommend python3
* Thu Feb 20 2020 lingsheng <lingsheng@huawei.com> - 2.3.0-11
- Modify buildrequires to fix build fail
* Wed Nov 27 2019 lingsheng <lingsheng@huawei.com> - 2.3.0-10
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。