代码拉取完成,页面将自动刷新
Name: python-testscenarios
Version: 0.5.0
Release: 15
Summary: Provides clean dependency injection for python unittest style tests
License: ASL 2.0 and BSD
URL: https://launchpad.net/testscenarios
Source0: https://pypi.python.org/packages/source/t/testscenarios/testscenarios-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel python3-fixtures python3-setuptools python3-pbr python3-testtools
%description
testscenarios provides clean dependency injection for python unittest style tests.
This can be used for interface testing (testing many implementations via a single test suite)
or for classic dependency injection (provide tests with dependencies externally to
the test code itself, allowing easy testing in different situations).
%package -n python3-testscenarios
Summary: Provides clean dependency injection for python unittest style tests
Requires: python3-pbr python3-testtools
%{?python_provide:%python_provide python3-testscenarios}
%description -n python3-testscenarios
testscenarios provides clean dependency injection for python unittest style tests.
This can be used for interface testing (testing many implementations via a single test suite)
or for classic dependency injection (provide tests with dependencies externally to
the test code itself, allowing easy testing in different situations).
%prep
%autosetup -n testscenarios-%{version} -p1
rm -rf testscenarios.egg-info
sed -i '/^buffer = 1$/d' setup.cfg
sed -i '/^catch = 1$/d' setup.cfg
%build
%py3_build
%install
%py3_install
%check
%{__python3} setup.py test
%files -n python3-testscenarios
%license Apache-2.0 BSD
%doc GOALS HACKING NEWS README doc/
%{python3_sitelib}/*
%changelog
* Mon Aug 10 2020 zhangjiapeng <[email protected]> - 0.5.0-15
- Remove python2
* Tue Nov 19 2019 openEuler Buildteam <[email protected]> - 0.5.0-14
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。