Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed test breakage following test-settings enhancements

  • Loading branch information...
commit 84c137490bad9043279278524bf958da8fb69fae 1 parent 0615eaf
@shaib shaib authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  django/db/
3  django/db/
@@ -209,6 +209,9 @@ def prepare_test_settings(self, alias):
"to a %s entry in the TEST setting" % (key, new_key),
RemovedInDjango19Warning, stacklevel=2)
test_settings[new_key] = value
+ for key in conn.keys():
+ if key.startswith('TEST_'):
+ del conn[key]
# Check that they didn't just use the old name with 'TEST_' removed
for key, new_key in six.iteritems(self.TEST_SETTING_RENAMES):
if key in test_settings:

0 comments on commit 84c1374

Please sign in to comment.
Something went wrong with that request. Please try again.