• Simon Charette's avatar
    Refs #26840 -- Corrected SQLite connection mocking in a setup_databases() test. · f6d8b0c4
    Simon Charette yazdı
    The test was expecting connections used by DiscoverRunner.setup_databases()
    to be the ones defined in django.test.runner but this doesn't hold true
    since this method was made a proxy of django.test.utils.setup_databases.
    
    This broke the TransactionTestCase.serialized_rollback feature in the test
    suite because calls to create_db_test() cleared the test data persisted on
    connections objects.
    
    Added an assertions to prevent this from happening again.
    f6d8b0c4
Adı
Son kayıt (commit)
Son güncelleme
.tx Loading commit data...
django Loading commit data...
docs Loading commit data...
extras Loading commit data...
js_tests Loading commit data...
scripts Loading commit data...
tests Loading commit data...
.editorconfig Loading commit data...
.eslintignore Loading commit data...
.eslintrc Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.hgignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.rst Loading commit data...
Gruntfile.js Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
LICENSE.python Loading commit data...
MANIFEST.in Loading commit data...
README.rst Loading commit data...
package.json Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...