Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37754137
en ru br
Репозитории ALT

Группа :: Development/Python3
Пакет: python3-module-testscenarios

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   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

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin