# CHANGES

## 4.2.0

- Revert “Switch to unittest.mock from mock”

## 4.1.0

- Switch to unittest.mock from mock
- Remove os-client-config and debtcollector

## 4.0.0

- Remove ‘oslotest.functional’
- Remove ‘oslotest.moxstubout’ module
- remove outdated header
- gitignore: Ignore reno artefacts
- [ussuri][goal] Drop python 2.7 support and testing
- trivial: Cleanup of doc config file
- tox: Trivial cleanup
- tools: Default to Python 3

## 3.9.0

- Invoke correct python version in shell scripts
- Switch to Ussuri jobs
- Update master for stable/train

## 3.8.1

- Add Python 3 Train unit tests

## 3.8.0

- Sync Sphinx requirement
- Replace git.openstack.org URLs with opendev.org URLs
- Stop testing mock functionality
- OpenDev Migration Patch
- Dropping the py35 testing
- Replace openstack.org git:// URLs with https://
- Update master for stable/stein

## 3.7.1

- Change python3.5 job to python3.7 job on Stein+
- Update hacking version
- Change openstack-dev to openstack-discuss
- Title underline too long
- Remove stestr from requirements.txt
- Don’t quote {posargs} in tox.ini
- Fix nits in timeout change

## 3.7.0

- Add DEFAULT_TIMEOUT and TIMEOUT_SCALING_FACTOR
- Use templates for cover and lower-constraints
- Fix requirements check ci in oslotest
- add python 3.6 unit test job
- import zuul job settings from project-config
- Update reno for stable/rocky
- Add release note link in README

## 3.6.0

- Switch to using stestr
- fix tox python3 overrides

## 3.5.0

- Deprecate MoxStubout class
- Fix requirements
- mock: Perform patch’s autospec checks on __enter__

## 3.4.2

- Trivial: Update pypi url to new url
- set default python to python3
- mock: Apply autospec to a mock’s return_value

## 3.4.1

- mock: Properly patch mock.MagicMock

## 3.4.0

- add lower-constraints job
- make the CaptureOutput fixture easier to control
- Updated from global requirements

## 3.3.0

- Updated from global requirements
- Update links in README
- Update reno for stable/queens
- Updated from global requirements
- Updated from global requirements
- mock: Fixes mock.patch.multiple autospec

## 3.2.0

- Adds mock autospec fixture

## 3.1.0

- Remove -U from pip install
- Avoid tox_install.sh for constraints support
- Updated from global requirements
- Remove setting of version/release from releasenotes
- Updated from global requirements

## 3.0.0

## 2.18.1

## 2.18.0

- Updated from global requirements
- Updated from global requirements
- Deprecate oslotest.functional
- Remove oslotest.mockpatch
- Updated from global requirements
- Updated from global requirements
- Update reno for stable/pike
- Updated from global requirements

## 2.17.0

- Update URLs in documents according to document migration
- Use assertIsNone(…) instead of assertIs(None,…)
- rearrange content to fit the new standard layout
- Using fixtures instead of deprecated mockpatch module

## 2.16.1

- Switch from oslosphinx to openstackdocstheme

## 2.16.0

- Updated from global requirements
- Trivial fix style in document
- Updated from global requirements
- Remove pbr warnerrors in favor of sphinx check
- Updated from global requirements
- Updated from global requirements
- Updated from global requirements
- Updated from global requirements
- Updated from global requirements

## 2.15.0

- Updated from global requirements
- Remove support for py34

## 2.14.0

- Updated from global requirements
- [Fix gate]Update test requirement
- Updated from global requirements
- Update reno for stable/ocata
- Updated from global requirements

## 2.13.0

- Add Constraints support
- Show team and repo badges on README

## 2.12.0

- Updated from global requirements
- Add reno for release notes management
- Updated from global requirements
- Updated from global requirements
- Changed the home-page link

## 2.11.0

- Remove testscenarios from requirements
- Updated from global requirements
- Updated from global requirements
- Updated from global requirements

## 2.10.0

- Updated from global requirements

## 2.9.0

- Updated from global requirements

## 2.8.0

- Import mock so that it works on Python 3.x
- Fix parameters of assertEqual are misplaced
- Updated from global requirements
- Add Python 3.5 classifier and venv
- A DisableModules fixture that removes modules from path

## 2.7.0

- Updated from global requirements

## 2.6.0

- Updated from global requirements

## 2.5.0

- Remove mockpatch re-implementations
- Updated from global requirements
- Updated from global requirements
- Updated from global requirements

## 2.3.0

- Add some gitignore files

## 2.2.0

- move unit tests into the oslotest package
- Updated from global requirements
- Hack to get back stopall cleanup behavior feature
- Fix misspelling

## 2.1.0

- Updated from global requirements
- Updated from global requirements
- Updated from global requirements
- Trival: Remove ‘MANIFEST.in’

## 2.0.0

- Updated from global requirements
- Remove Python 2.6 classifier
- mockpatch: deprecate in favor of native fixtures
- Remove python 2.6 and cleanup tox.ini
- Updated from global requirements

## 1.12.0

- Fix coverage configuration and execution
- Updated from global requirements
- Add documentation about using oslo_debug_helper
- add oslo.config a test requirement
- clean up readme and doc title
- clean up toctree
- auto-generate API documentation
- Fix the home-page with Oslotest wikipage
- Fixup docstrings
- Updated from global requirements

## 1.11.0

- Updated from global requirements

## 1.10.0

- Allow TRACE and integer logging levels for ‘OS_DEBUG’
- Updated from global requirements
- Updated from global requirements
- Updated from global requirements

## 1.9.0

- Fix use of mock
- Updated from global requirements
- Add documentation for cross-project unit testing
- Updated from global requirements
- Fix build break with Fixtures 1.3
- Updated from global requirements

## 1.8.0

- Updated from global requirements
- Allow ``OS_DEBUG`` environment variable to specify log level
- Updated from global requirements
- always rebuild cross-test venv
- Add CreateFileWithContent fixture
- Create ConfigureLogging fixture
- Create CaptureOutput fixture
- Create Timeout wrapper fixture
- Document the mock attribute for mockpatch

## 1.7.0

- Updated from global requirements
- Fix argument handling in oslo_run_cross_tests
- Add class to deal with clouds.yaml support
- Remove unneeded runtime pbr dep
- Updated from global requirements
- Advertise support for Python3.4 / Remove support for Python 3.3
- Do not sync run_cross_tests.sh
- Remove unused discover dependency

## 1.6.0

- Uncap library requirements for liberty
- Cleanup README.rst and setup.cfg
- mockpatch: factorize code
- Update to latest hacking
- Updated from global requirements
- mockpatch: fix a potential race condition

## 1.5.1

## 1.5.0

- Force rebuild egg-info before running cross tests
- Restore missing module for pre-release test script
- Updated from global requirements

## 1.4.0

- Set a higher default for maxDiff
- Move the script for running pre-releases into oslotest
- Update docs for new script name
- Publish cross-test runner as part of oslotest
- Remove six.moves call
- Fix for mktemp failure on osx
- Activate pep8 check that _ is imported
- Workflow documentation is now in infra-manual
- Fix the URL for reporting bugs in the README

## 1.3.0

- Updated from global requirements
- Updated from global requirements
- Updated from global requirements
- Add pbr to installation requirements
- Clean up the docs for oslo_debug_helper

## 1.2.0

- Updated from global requirements
- Set install_command in tox to avoid pre-releases
- Add an extra parameter for test directory in debugger script
- Handle tempfile content encoding
- Work toward Python 3.4 support and testing
- Add links to best practices video and etherpad
- Updated from global requirements
- Drop .sh extension from oslo_debug_helper.sh
- Add history/changelog to docs
- fix typo and formatting in contributing docs

## 1.1.0

- warn against sorting requirements
- Add fixture for mock.patch.multiple
- Ensure that mock.patch.stopall is called last
- Remove differences between Python 2.x and 3.x versions
- Require six
- Add documentation for running oslo_debug_heler.sh
- Restructure oslotest docs
- Add pdb support to tox with debug helper shell script
- Updated from global requirements
- Cleaning up index.rst file
- Add known issue about time.time mocking
- Updated from global requirements
- Add API documentation
- Moving to use the mock module found in Python3

## 1.1.0.0a1

- Update to hacking 0.9.2
- Cleanup mock patches on BaseTestCase tearDown()
- Add unit test for olsotest base class
- fix .gitreview after rename
- Sync new sphinx requirement spec
- Set log level to default value
- Updated from global requirements
- Update cross-test directions
- Update project name in doc build

## 1.0.0

- Import run_cross_tests.sh from oslo-incubator
- Fix up documentation files
- Fake logger as instance attribute
- Require testrepository and other tools at runtime
- Updated from global requirements
- Add tool to run cross-project tests

## 0.1

- Rename oslo.test to oslotest
- Add test for moxstubout
- Switch to oslosphinx
- Sync requirements and fix pep8 errors
- Remove oslo.test.fixture
- Remove unused tempdirs attribute
- Remove translations infrastructure
- apply oslo-cookiecutter
- Differentiate runtime and test requirements
- flatten package hierarchy
- remove dependency on oslo.config to avoid cycle
- Remove lockutils fixture from this library
- Run python 3.3 tests first to set testr db type
- Add packaging and test control files
- rearrange files into the proper package
- Generalize base test case into common code
- Add ‘new’ parameter to mock.Patch and mock.PatchObject classes
- Make the log capture in tests more configurable
- log all test messages not just oslo ones
- Fix violations of H302:import only modules
- Trivial: Make vertical white space after license header consistent
- Remove vim header
- Fix copyright header on test module
- Use cleaner version from cookiecutter OpenStack template
- Add TempHomeDir fixture which is already part of cookiecutter template
- Fix typos in oslo
- Move LockFixture into a fixtures module
- Consolidate the use of stubs
- Make openstack.common.fixture.config Py3 compliant
- Using NestedTempfile in new BaseTestCase class
- Bump hacking to 0.7.0
- Add a fixture for dealing with config
- Add common part of test-related tools to oslo
- Add eclipse project files to .gitignore
- Add .testrepository to .gitignore
- Ignore backup files in .gitignore
- Add join_consumer_pool() to RPC connections
- Add a fixture for dealing with mock patching
- Start adding reusable test fixtures
- updating sphinx documentation
- Correcting openstack-common mv to oslo-incubator
- Update .gitreview for oslo
- .gitignore updates for generated files
- Updated tox config for multi-python testing
- Added .gitreview file
- ignore cover’s html directory
- Rajaram/Vinkesh|increased tests for Request and Response serializers
- Rajaram/Vinkesh|Added nova’s serializaiton classes into common
- Initial skeleton project

this page last updated: 2020-04-09 19:31:43

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug questions?