a3d35b9 Issue 48064 - Fix various issues in disk monitoring test suite

Authored and Committed by vashirov 5 years ago
    Issue 48064 - Fix various issues in disk monitoring test suite
    
    Bug Description:
    1. Some tests were hanging after disk monitoring test suite was executed,
    because we didn't do a proper cleanup: log directories were still
    mounted after test has ended.
    2. Deprecation warnings from re module.
    
    Fix Description:
    1. Change scope of the fixture to 'module' instead of 'function'.
    Split setup fixture to have a separate fixture for log reset for each
    test.
    2. Use raw strings for re functions' parameters.
    
    https://pagure.io/389-ds-base/issue/48064
    
    Reviewed by: mreynolds and spichugi (Thanks!)