Browse files

Fixed test breakage following test-settings enhancements

  • Loading branch information...
1 parent 0615eaf commit 84c137490bad9043279278524bf958da8fb69fae @shaib shaib committed Mar 9, 2014
Showing with 3 additions and 0 deletions.
  1. +3 −0 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.