dbtest: Refactor dsn construction
Created by: efritz
This should be behavior preserving; just shuffles around code that's called the same way in multiple places.
Created by: efritz
This should be behavior preserving; just shuffles around code that's called the same way in multiple places.