Summary
With Testinfra you can write unit tests in Python to test actual state of your servers configured by management tools like Salt, Ansible, Puppet, Chef and so on. Testinfra aims to be a Serverspec equivalent in Python.
Versions
v10.1.1 :: 0 :: gentoo
- Modified
- License
- Apache-2.0
- Keywords
- amd64 arm64 ~riscv
- USE flags
- test
USE flags
General
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
python_targets
- python3_10
- Build with Python 3.10
- python3_11
- Build with Python 3.11
- python3_12
- Build with Python 3.12
Runtime Dependencies
dev-lang / python : An interpreted, interactive, object-oriented programming language
dev-python / pytest : Simple powerful testing with Python
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
dev-python/pytest-testinfra: Stabilize 10.1.1 ALLARCHES, #934090
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Bump to 10.1.1
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Arthur Zamarin · gentoo
dev-python/pytest-testinfra: Stabilize 10.1.0 amd64, #927115
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
dev-python/pytest-testinfra: Stabilize 10.1.0 arm64, #927115
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Marek Szuba · gentoo
dev-python/pytest-testinfra: enable py3.12
Signed-off-by: Marek Szuba <marecki@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Remove test dep on app-admin/salt
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Bump to 10.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Michał Górny · gentoo
dev-python/pytest-testinfra: Stabilize 10.0.0 ALLARCHES, #919554
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Copy ~arm64 to newest
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
dev-python/pytest-testinfra: Keyword 9.0.0 arm64, #917841
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Bump to 10.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
dev-python/pytest-testinfra: Stabilize 9.0.0 ALLARCHES, #914685
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Bump to 9.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Jakov Smolić · gentoo
dev-python/pytest-testinfra: Stabilize 8.1.0 ALLARCHES, #909258
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Bump to 8.1.0
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Bump to 8.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Use pypi.eclass
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
Rename dev-python/{setuptools_scm → setuptools-scm}
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Marek Szuba · gentoo
dev-python/pytest-testinfra: s/EPYTEST_IGNORE/EPYTEST_DESELECT/g
Done on my end even before the bug but I forgot to re-run "git add". Closes: https://bugs.gentoo.org/896400 Signed-off-by: Marek Szuba <marecki@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Marek Szuba · gentoo
dev-python/pytest-testinfra: enable py3.11
...with one test disabled for that version because it depends on app-admin/salt having 3.11 support as well - and if adding 3.10 support in it was anything to go by, it will take a while. Signed-off-by: Marek Szuba <marecki@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Remove Python < 3.10
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Arthur Zamarin · gentoo
dev-python/pytest-testinfra: Stabilize 7.0.0 ALLARCHES, #890148
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Bump to 7.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Marek Szuba · gentoo
dev-python/pytest-testinfra: stabilize 6.8.0 for ALLARCHES
Signed-off-by: Marek Szuba <marecki@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Marek Szuba · gentoo
dev-python/pytest-testinfra: drop 6.7.0
Signed-off-by: Marek Szuba <marecki@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Bump to 6.8.0
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Jakov Smolić · gentoo
dev-python/pytest-testinfra: Keyword 6.7.0 riscv, #835717
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Bump to 6.7.0
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Marek Szuba · gentoo
dev-python/pytest-testinfra: drop 6.4.0, 6.5.0
Signed-off-by: Marek Szuba <marecki@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Bump to 6.6.0
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Marek Szuba · gentoo
dev-python/pytest-testinfra: enable py3.10
Enough waiting for app-admin/salt. Signed-off-by: Marek Szuba <marecki@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Bump to 6.5.0
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
dev-python/pytest-testinfra: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Marek Szuba · gentoo
dev-python/pytest-testinfra: bump to 6.4.0 and EAPI 8
Signed-off-by: Marek Szuba <marecki@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Marek Szuba · gentoo
dev-python/pytest-testinfra: remove PYTHON_USEDEP from ansible dep
Unlike the Salt one, the Ansible back-end calls various command-line tools instead of directly importing Python modules. It will likely stay that way too, since according to upstream this back-end is only meant for special circumstances - normal use of testinfra on Ansible hosts makes use of one of the SSH back-ends (or the local one for localhost). Signed-off-by: Marek Szuba <marecki@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Marek Szuba · gentoo
dev-python/pytest-testinfra: initial import
Signed-off-by: Marek Szuba <marecki@gentoo.org>