114 Star 0 Fork 5

src-openEuler/python-testscenarios

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-testscenarios.spec 1.89 KB
一键复制 编辑 原始数据 按行查看 历史
jpzhang187 提交于 2020-08-11 10:59 . Remove python2
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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-testscenarios.git
[email protected]:src-openeuler/python-testscenarios.git
src-openeuler
python-testscenarios
python-testscenarios
master

搜索帮助