forked from openstack/cinder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fixture to only emit DeprecationWarning once
We have a ton of DeprecationWarning messages in our unit test runs. Most of these are out of our control from third party libs. This adds a WarningsFixture to limit warning output to once per test run, getting rid of >700 warnings in our logs. Borrowed heavily from Id8d8866baaf64721fda2b6b2e8358db18920c8ba and I5eaf953b6a2b0a3efe215f776aa048433b192e90 in Nova. Change-Id: I2250d4bad1b1f7d1f83c175a5e2b124f02ec9212
- Loading branch information
1 parent
ab5dfc0
commit bdae03a
Showing
2 changed files
with
25 additions
and
0 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