File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
tests/regressiontests/test_runner Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -251,11 +251,10 @@ def test_transaction_support(self):
251251 },
252252 })
253253 other = db .connections ['other' ]
254- self .assertIsNone (other .features .supports_transactions )
255254 DjangoTestSuiteRunner (verbosity = 0 ).setup_databases ()
256255 msg = "DATABASES setting '%s' option set to sqlite3's ':memory:' value shouldn't interfere with transaction support detection." % option
257256 # Transaction support should be properly initialised for the 'other' DB
258- self .assertIsNotNone (other .features .supports_transactions , msg )
257+ self .assertTrue (other .features .supports_transactions , msg )
259258 # And all the DBs should report that they support transactions
260259 self .assertTrue (connections_support_transactions (), msg )
261260 finally :
You can’t perform that action at this time.
0 commit comments