Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed test of connection features before setting up databases

  • Loading branch information...
commit ef906b163202679413f1fdae7106b8de86477dbe 1 parent ad47364
Claude Paroz claudep authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  tests/regressiontests/test_runner/tests.py
3  tests/regressiontests/test_runner/tests.py
View
@@ -251,11 +251,10 @@ def test_transaction_support(self):
},
})
other = db.connections['other']
- self.assertIsNone(other.features.supports_transactions)
DjangoTestSuiteRunner(verbosity=0).setup_databases()
msg = "DATABASES setting '%s' option set to sqlite3's ':memory:' value shouldn't interfere with transaction support detection." % option
# Transaction support should be properly initialised for the 'other' DB
- self.assertIsNotNone(other.features.supports_transactions, msg)
+ self.assertTrue(other.features.supports_transactions, msg)
# And all the DBs should report that they support transactions
self.assertTrue(connections_support_transactions(), msg)
finally:
Please sign in to comment.
Something went wrong with that request. Please try again.