Adds oslo.db support for Python 3 tests

bp python3

Change-Id: I0c1cf795c82760aa7ccbce010afca7533b351541
Merge "Adds oslo.db support for Python 3 tests"