oslotest
Oslo test framework
Decision gist · record as of 2026-08-14
Yes, if you are working on OpenStack projects or need testtools-based testing with pre-built fixtures. The low install friction, active maintenance, permissive license, and lack of security issues make it a safe choice. For non-OpenStack Python projects, evaluate whether the framework's design assumptions align with your testing strategy before adopting.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with a pure-Python wheel distribution.
- Actively maintained as of 116 days ago with current Python support (3.10–3.13).
License · maintenance · safety
permissive license (permissive) — Licensed under Apache (permissive), allowing use in commercial and private projects with minimal restrictions.
last release 2026-04-20 (116 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 98,513 downloads/mo, #13,078 on PyPI
Alternatives
Verify before relying
pip install oslotest
from oslotest import base
class MyTest(base.BaseTestCase):
def test_example(self):
self.assertEqual(1, 1)- Whether oslotest is suitable for non-OpenStack projects or if it is tightly coupled to OpenStack infrastructure.
- The scope and maturity of the mocking and debugging features relative to standard unittest or pytest plugins.
What it is and what it does
oslotest is a testing framework maintained by the OpenStack project that extends testtools and fixtures to provide a common foundation for test suites. It offers pre-built test base classes, fixtures for common setup patterns, and utilities for debugging and mocking that reduce boilerplate in test code.
The package is designed primarily for OpenStack development but can be adopted in any Python project that uses testtools. It requires Python 3.10 or later and has no compiled dependencies, making installation straightforward. The framework integrates with standard Python testing workflows and is actively maintained.
Use it for
- Building test suites for OpenStack projects with standardized fixtures and base classes.
- Extending testtools with OpenStack-specific debugging and mocking utilities in existing test code.
- Setting up unit tests that require common fixture patterns without writing boilerplate setup.
- Debugging test failures with enhanced logging and introspection support from the Oslo framework.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are working on OpenStack projects or need testtools-based testing with pre-built fixtures.
The low install friction, active maintenance, permissive license, and lack of security issues make it a safe choice. For non-OpenStack Python projects, evaluate whether the framework's design assumptions align with your testing strategy before adopting.
Install
oslotest on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained as of 116 days ago with current Python support (3.10–3.13). Only two runtime dependencies (fixtures and testtools), both lightweight testing libraries.
Requires Python 3.10 or later.
License in practice
Licensed under Apache (permissive), allowing use in commercial and private projects with minimal restrictions.
Quickstart
pip install oslotest
from oslotest import base
class MyTest(base.BaseTestCase):
def test_example(self):
self.assertEqual(1, 1)
Verify before relying
- Whether oslotest is suitable for non-OpenStack projects or if it is tightly coupled to OpenStack infrastructure.
- The scope and maturity of the mocking and debugging features relative to standard unittest or pytest plugins.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesfixturestesttools |
| Maintenance | Actively maintained 116 days since the last release |
| First released | |
| Downloads | 98,513 / month, #13,078 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: OpenStackIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPythonTyping :: Typed |
Evidence: oslotest-6.1.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “openstack testing framework”
- oslotestoslotest provides a testing framework with common fixtures and…
- molecule-pluginsProvides driver plugins for molecule that enable testing across…
- os-testros-testr wraps the testr test runner to provide OpenStack-specific…
Give your agent the search over MCP, or paste the wish link into any chat.
More Testing packages
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.
Install it if you write tests for any asyncio-based code.
A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.
Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.
See also os-testr · oslo.vmware · oslo.utils · oslo.reports · oslo.log · oslo.config · testtools · oslo.db · oslo.service · neutron-lib