Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workaround to handle the testtool skip exception issue
stestr which is used by Tempest internally to run the test switch the customize test runner(which use stdlib unittest) for >=py3.5 else testtools.run.- mtreinish/stestr#265 These two test runner are not compatible due to skip exception handling(due to unittest2). testtools.run treat unittestt.SkipTest as error and stdlib unittest treat unittest2.case.SkipTest raised by testtools.TestCase.skipException. testtool issue: testing-cabal/testtools#272 testtool is not so active now a days and fix is also not decided, let's add a workaround in Tempest to make it work for both test runner based on python version same as used by stestr Tempest should work perfectly with stestr<2.5.0 also which is also handled in this workaround. Change-Id: Ie9c013d4d6851d4deef57c1e4c254a9a34374e5a
- Loading branch information
Showing
2 changed files
with
46 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters