Ticket #18813: testmirror-sqlite.diff

File testmirror-sqlite.diff, 645 bytes (added by adsva, 3 years ago)
  • django/test/simple.py

    diff --git a/django/test/simple.py b/django/test/simple.py
    index 0c6a21b..c5b4eee 100644
    a b class DjangoTestSuiteRunner(object): 
    331331
    332332        for alias, mirror_alias in mirrored_aliases.items():
    333333            mirrors.append((alias, connections[alias].settings_dict['NAME']))
    334             connections[alias].settings_dict['NAME'] = (
    335                 connections[mirror_alias].settings_dict['NAME'])
    336             connections[alias].features = connections[mirror_alias].features
     334            connections[alias] = connections[mirror_alias]
    337335
    338336        return old_names, mirrors
    339337
Back to Top