id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 23421,dict get for TEST_SERIALIZE in django.test.runner.setup_databases() always return True,Guido Kollerie,Tim Graham,"Given the following in `settings.py`: {{{ DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', # .... 'TEST_SERIALIZE': False, } } }}} The call `serialize=connection.settings_dict.get(""TEST_SERIALIZE"", True)` on line 299 in `django.test.runner.setup_databases` will always be set to True as `TEST_SERIALIZE` is somewhere transformed into: {{{ settings_dict = { 'TEST': { 'SERIALIZE`: True, # ... }, # ... } }}} Hence the key lookup always fails, and `get()` will use the supplied default value of `True`. A possible fix will be to rewrite that call to something like: {{{ serialize=connection.settings_dict[""TEST""].get(""SERIALIZE"", True) }}}",Bug,closed,Testing framework,1.7,Release blocker,fixed,,,Ready for checkin,1,0,0,0,0,0