def _mock_use_read_replica(queryset):
return (<EOL>queryset.using('<STR_LIT:default>')<EOL>if '<STR_LIT>' in settings.DATABASES<EOL>else queryset<EOL>)<EOL>
The Django DATABASES setting TEST_MIRROR isn't reliable.
See: https://code.djangoproject.com/ticket/23718