[autotest] Refactor readonly_connection
The way readonly connections were used used
some monkey patching and manual connection handling.
Code gets easier to maintain if Django manages all the
database connections and no monkeypatching is done.
This is what this CL achieves.
Tested-by: Jakob Jülich <firstname.lastname@example.org>
Reviewed-by: Dan Shi <email@example.com>
Reviewed-by: Fang Deng <firstname.lastname@example.org>
Commit-Queue: Jakob Jülich <email@example.com>
7 files changed