Update git submodules
* Update keystone from branch 'master' to 771c943ad2116193e7bb118c74993c829d93bd71 - Add 'WarningsFixture' This duplicates what exists in nova and various other projects. The important difference between this and what we're doing currently is that it *restores*, rather than reset, the warning filters. There are more various warning filters pre-configured in a typical Python environment, including a few from third-party libraries such as requests [1][2] and urllib3 [3] as well as stdlib [4]. By calling 'warnings.resetwarnings', we *reset* all the warning filters [5]. This is clearly not something we want to do, and resulted in tests puking warnings after the initial test run. [1] https://github.com/psf/requests/blob/v2.26.0/requests/__init__.py#L127 [2] https://github.com/psf/requests/blob/v2.26.0/requests/__init__.py#L152 [3] https://github.com/urllib3/urllib3/blob/1.26.7/src/urllib3/__init__.py#L68-L78 [4] https://docs.python.org/3.8/library/warnings.html#default-warning-filter [5] https://docs.python.org/3.8/library/warnings.html#warnings.resetwarnings Change-Id: Ia2046dc32e3ac270b1dbcf2fe540104c1a8d95d8 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
904bb652ca
commit
d8f041536d
2
keystone
2
keystone
|
@ -1 +1 @@
|
|||
Subproject commit 03238e343a595e1cb4fd43a84062db72b094c832
|
||||
Subproject commit 771c943ad2116193e7bb118c74993c829d93bd71
|
Loading…
Reference in New Issue