oslo.db tests mock database connection
Bug #1366869 reported by
Viktor Serhieiev
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.db |
Expired
|
High
|
Unassigned |
Bug Description
A lot of tests in oslo.db uses mocks and doesn't work with the real databases.
oslo.db provides for OpenStack project different tools for work with database, so we should guarantee, that they work properly and check all these functionality with the real databases instead of mocks (which can be wrong, sometimes). For this we should use real DB connection in tests instated of mocks, where it is possible.
See also discussion at the first patch sets in patch https:/
Changed in oslo.db: | |
status: | Triaged → Incomplete |
To post a comment you must log in.
There may be some value in supporting the mock tests, but I agree we should look into adding functional testing against real databases for kilo.