Update git submodules

* Update oslo.db from branch 'master'
  to a0db55dcea5caba74fd6d177038f517413b9ac69
  - tests: Restore - don't reset - 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]. Our fixture to
    configure warnings, 'WarningsFixture', called 'warnings.resetwarnings'
    which *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.
    
    Resolve this by backing up the existing warning filters before applying
    the filter, and then *restoring* this original list of warning filters
    after the 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: Ie74dad3f20002dd26fa9760c9ba452c4a40186c5
    Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2021-11-25 16:11:04 +00:00 committed by Gerrit Code Review
parent e88efca663
commit c021d0829d
1 changed files with 1 additions and 1 deletions

@ -1 +1 @@
Subproject commit 2fbda1b67193280d2663886031a1152ef6f2927a
Subproject commit a0db55dcea5caba74fd6d177038f517413b9ac69