{"library":"oslotest","title":"Oslo Test Framework","description":"Oslo test framework provides test utilities and base test classes for OpenStack projects. It helps with test isolation, mocking configuration, and fixture management. Current version: 6.1.1, release cadence is seasonal (aligned with OpenStack releases).","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install oslotest"],"cli":null},"imports":["from oslotest import base","from oslotest import create_service_fixture"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import os\nfrom oslotest import base\n\nclass MyTestCase(base.BaseTestCase):\n    def setUp(self):\n        super(MyTestCase, self).setUp()\n        # Use fixtures to set up temp files or env vars\n        self.useFixture(base.NestedTempfile())\n    def test_something(self):\n        result = some_function()\n        self.assertEqual(result, expected)\n\n# For running: python -m testtools.run discover","lang":"python","description":"Minimal test case using Oslo test framework with BaseTestCase and NestedTempfile fixture.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}