Enable DeprecationWarning in test environments
Neutron is refactoring a lot of its code. For example, common entities are being moved to neutron-lib. When code is refactored it is marked with debtcollector, which issues a deprecation warning. In the next release the old entity will be removed. Consuming projects (like tricircle) must update to comply with the new entity before the old one is removed. Tricircle maintainers must monitor deprecation warnings and act on them before the next release. Many deprecations are triggered early (on imports, for example) before the warnings are enabled by the WarningsFixture in the base test class. To make sure all DeprecationWarning messages are emitted we enable them via the PYTHONWARNINGS environment variable. Change-Id: Iade909b35a55cebb7dfe13a688f451ad91989b94
This commit is contained in:
parent
8f3cd2e672
commit
30f6475665
Loading…
Reference in New Issue
Block a user