Part of lp.testing
|Function||update_store_connections||Update the connection settings for all active stores.|
|Function||switch_dbuser||Change the current database user.|
|Function||dbuser||A context manager that temporarily changes the dbuser.|
|Function||lp_dbuser||A context manager that temporarily changes to the launchpad dbuser.|
This is required for connection setting changes to be made visible.
Unlike disconnect_stores and reconnect_stores, this changes the underlying connection of existing stores, leaving existing objects functional.
If new_name is None, the default will be restored.
Use with the LaunchpadZopelessLayer layer and subclasses.
temporary_name is the name of the dbuser that should be in place for the code in the "with" block.