dev-python / testscenarios

A pyunit extension for dependency injection

Official package sites : https://github.com/testing-cabal/testscenarios/ · https://launchpad.net/testscenarios/ · https://pypi.org/project/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).

v0.5.0-r3 :: 0 :: gentoo

Modified
License
Apache-2.0
Keywords
amd64 arm arm64 hppa ppc ppc64 sparc x86 ~alpha ~amd64-linux ~loong ~m68k ~mips ~riscv ~s390 ~x64-macos ~x86-linux
USE flags
test

General

test
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

python_targets

pypy3
Build with PyPy3
python3_10
Build with Python 3.10
python3_11
Build with Python 3.11
python3_12
Build with Python 3.12
python3_13
Build with Python 3.13

dev-lang / python : An interpreted, interactive, object-oriented programming language

dev-python / pbr : Inject some useful and sensible default behaviors into setuptools

dev-python / pypy3 : A fast, compliant alternative implementation of the Python (3.10) language

dev-python / testtools : Extensions to the Python standard library unit testing framework

dev-python / subunit : A streaming protocol for test results

dev-python / tempest : OpenStack Integration Testing

797559
dev-python/testscenarios-0.5.0-r1 setuptools warnings detected
931601
dev-python/testscenarios-0.5.0-r3 fails tests: ERROR test_scenarios.py::TestGenerateScenarios - AttributeError: TestGenerateScenarios object has no attribute runTest Did you mean: subTest?
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
*/*: unkeyword ~ia64
Change was created by running the following command:: ekeyword ^ia64 */*/*.ebuild Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/testscenarios: Enable py3.13
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Petr Vaněk · gentoo
dev-python/testscenarios: enable py3.12
Signed-off-by: Petr Vaněk <arkamar@atlas.cz> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/testscenarios: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
David Seifert · gentoo
*/*: remove py3.8 from PYTHON_COMPAT
Signed-off-by: David Seifert <soap@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
WANG Xuerui · gentoo
dev-python/testscenarios: keyword 0.5.0-r3 for ~loong
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/testscenarios: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Agostino Sarubbo · gentoo
dev-python/testscenarios: amd64/arm/sparc stable (ALLARCHES policy) wrt bug #854633
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/testscenarios: Stabilize 0.5.0-r3 x86, #854633
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-python/testscenarios: Stabilize 0.5.0-r3 ppc64, #854633
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Arthur Zamarin · gentoo
dev-python/testscenarios: Stabilize 0.5.0-r3 arm64, #854633
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Arthur Zamarin · gentoo
dev-python/testscenarios: Stabilize 0.5.0-r3 hppa, #854633
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Arthur Zamarin · gentoo
dev-python/testscenarios: Stabilize 0.5.0-r3 ppc, #854633
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/testscenarios: Add RDEP on dev-python/pbr
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/testscenarios: Enable py3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Michał Górny · gentoo
dev-python/testscenarios: Use PEP517 build
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/testscenarios: Stabilize 0.5.0-r1 hppa, #832457
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/testscenarios: Port to py3.10
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-python/testscenarios: keyword 0.5.0-r1 for ~riscv
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/testscenarios: drop s390 to ~s390 (unstable)
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
*/*: Remove obsolete values from PYTHON_COMPAT
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Matt Turner · gentoo
*/*: Drop most stable hppa keywords
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/testscenarios: ~x64-macos keyworded
Package-Manager: Portage-3.0.10.2-prefix, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/testscenarios: Remove python2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/testscenarios: Port to py39
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Matt Turner · gentoo
*/*: Drop stable ia64 keywords
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Mikle Kolyada · gentoo
*/*: Discontinue Gentoo SuperH port
Package-Manager: Portage-2.3.89, Repoman-2.3.20 RepoMan-Options: --ignore-arches Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Matt Turner · gentoo
*/*: Drop stable alpha keywords
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
*/*: Clean PYTHON_COMPAT of obsolete impls
Closes: https://github.com/gentoo/gentoo/pull/14246 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Piotr Karbowski · gentoo
dev-python/testscenarios-0.5.0: python 3.8 support added.
Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
*/*: [QA] Fix trivial cases of MissingTestRestrict
The result was achieved via the following pipeline: pkgcheck scan -c RestrictTestCheck -R FormatReporter \ --format '{category}/{package}/{package}-{version}.ebuild' | xargs -n32 grep -L RESTRICT | xargs -n32 sed -i -e '/^IUSE=.*test/aRESTRICT="!test? ( test )"' The resulting metadata was compared before and after the change. Few Go ebuilds had to be fixed manually due to implicit RESTRICT=strip added by the eclass. Two ebuilds have to be fixed because of multiline IUSE. Suggested-by: Robin H. Johnson <robbat2@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13942 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python: Remove *-fbsd KEYWORDS
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
*/*: Remove python3_4 PYTHON_COMPAT correctly
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Mikle Kolyada · gentoo
dev-python/testscenarios: mark s390 stable
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/testscenarios: Enable py3.7
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/testscenarios: Use pytest to work-around broken code
The code used for loading tests does not work anymore with Python 3.5's unittest implementation. Use pytest to run tests instead.
Michał Górny · gentoo
dev-python/testscenarios: Make tests verbose
Michał Górny · gentoo
dev-python/testscenarios: Fix ignoring test failures
Closes: https://bugs.gentoo.org/611768
Patrice Clement · gentoo
dev-python/testscenarios: add ~amd64-fbsd keyword.
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Michał Górny · gentoo
dev-python/testscenarios: Clean old up
Matthew Thode · gentoo
dev-python/testscenarios: 0.5.0 stable arm64 and hppa
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Robin H. Johnson · gentoo
Drop $Id$ per council decision in bug #611234.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Zac Medico · gentoo
dev-python/testscenarios: PYTHON_COMPAT: add python3_6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
T. Malfatti · gentoo
media-libs/portaudio: Version bump
Michał Górny · gentoo
global: Drop dead implementations from PYTHON_COMPAT
Markus Meier · gentoo
dev-python/testscenarios: arm stable, bug #564588
Package-Manager: portage-2.2.25 RepoMan-Options: --include-arches="arm"
Justin Lecher · gentoo
dev-python/testscenarios: Clean old
Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Agostino Sarubbo · gentoo
dev-python/testscenarios: alpha stable wrt bug #564588
Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="alpha"
Agostino Sarubbo · gentoo
dev-python/testscenarios: sparc stable wrt bug #530600
Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="sparc"
Agostino Sarubbo · gentoo
dev-python/testscenarios: ia64 stable wrt bug #564588
Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="ia64"
Agostino Sarubbo · gentoo
dev-python/testscenarios: sparc stable wrt bug #564588
Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="sparc"
Agostino Sarubbo · gentoo
dev-python/testscenarios: ppc64 stable wrt bug #564588
Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="ppc64"
Agostino Sarubbo · gentoo
dev-python/testscenarios: ppc stable wrt bug #564588
Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="ppc"
Agostino Sarubbo · gentoo
dev-python/testscenarios: x86 stable wrt bug #564588
Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="x86"
Agostino Sarubbo · gentoo
dev-python/testscenarios: amd64 stable wrt bug #564588
Package-Manager: portage-2.2.20.1 RepoMan-Options: --include-arches="amd64"
Justin Lecher · gentoo
Merge branch 'mgorny-setuptools-unmess'
* mgorny-setuptools-unmess: (61 commits) dev-python/mimeparse: Keyword under ALLARCHES policy dev-python/testtools: Rekeyword according to old KEYWORDS dev-python/virtualenv: Keyword under ALLARCHES policy dev-python/pyasn1-modules: Keyword under ALLARCHES policy dev-python/pygments: Keyword under ALLARCHES policy dev-python/pytz: Keyword under ALLARCHES policy dev-python/testrepository: Keyword under ALLARCHES policy dev-python/testresources: Keyword under ALLARCHES policy dev-python/pbr: Keyword under ALLARCHES policy dev-python/mock: Rekeyword according to old KEYWORDS dev-python/funcsigs: Keyword under ALLARCHES policy dev-python/traceback2: Keyword under ALLARCHES policy dev-python/fixtures: Keyword under ALLARCHES policy dev-python/unittest2: Rekeyword according to old KEYWORDS dev-python/linecache2: Keyword under ALLARCHES policy dev-python/testscenarios: Keyword under ALLARCHES policy dev-python/subunit: Rekeyword according to old KEYWORDS dev-python/requests: Rekeyword according to old KEYWORDS dev-python/ndg-httpsclient: Keyword under ALLARCHES policy dev-python/pexpect: Rekeyword according to old KEYWORDS ... Github: Closes gentoo/gentoo#119 Closes gentoo/gentoo#203
Justin Lecher · gentoo
dev-python/testscenarios: Keyword under ALLARCHES policy
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Michał Górny · gentoo
dev-python/*: Restore keywords and un-revbump for py3.5
Restore keywords that were removed unnecessarily, and collapse unnecessary revbumps on packages with added python3.5 support.
Justin Lecher · gentoo
dev-python/testscenarios: Add python3.5 support
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Mikle Kolyada · gentoo
dev-python/testscenarios: Add ~sparc keywords wrt bug #555570
Package-Manager: portage-2.2.20.1
Justin Lecher · gentoo
dev-python/testscenarios: Add pypy* support
Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Robin H. Johnson · gentoo
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed