Group :: Development/Python3
RPM: python3-module-testscenarios
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define oname testscenarios
Name: python3-module-%oname
Version: 0.5.0
Release: alt4
Summary: Testscenarios, a pyunit extension for dependency injection
License: Apache-2.0 and BSD-3-Clause
Group: Development/Python3
Url: https://pypi.python.org/pypi/testscenarios/
BuildArch: noarch
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-testtools
BuildRequires: python3-module-pytest python3-module-pbr
%py3_provides %oname
%py3_requires 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).
%prep
%setup
%build
%python3_build_debug
%install
%python3_install
%check
python3 -m testtools.run -v testscenarios.test_suite
%files
%doc Apache-2.0 BSD COPYING GOALS HACKING NEWS README doc
%doc AUTHORS ChangeLog
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here
Name: python3-module-%oname
Version: 0.5.0
Release: alt4
Summary: Testscenarios, a pyunit extension for dependency injection
License: Apache-2.0 and BSD-3-Clause
Group: Development/Python3
Url: https://pypi.python.org/pypi/testscenarios/
BuildArch: noarch
# Source-url: %__pypi_url %oname
Source: %name-%version.tar
BuildRequires(pre): rpm-build-intro >= 2.2.5
BuildRequires(pre): rpm-build-python3
BuildRequires: python3-module-testtools
BuildRequires: python3-module-pytest python3-module-pbr
%py3_provides %oname
%py3_requires 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).
%prep
%setup
%build
%python3_build_debug
%install
%python3_install
%check
python3 -m testtools.run -v testscenarios.test_suite
%files
%doc Apache-2.0 BSD COPYING GOALS HACKING NEWS README doc
%doc AUTHORS ChangeLog
%python3_sitelibdir/*
%changelog
…
Full changelog you can see here