Skip to content
Browse files

Removed test of connection features before setting up databases

  • Loading branch information...
1 parent ad47364 commit ef906b163202679413f1fdae7106b8de86477dbe @claudep claudep committed
Showing with 1 addition and 2 deletions.
  1. +1 −2 tests/regressiontests/test_runner/
3 tests/regressiontests/test_runner/
@@ -251,11 +251,10 @@ def test_transaction_support(self):
other = db.connections['other']
- self.assertIsNone(other.features.supports_transactions)
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)

0 comments on commit ef906b1

Please sign in to comment.
Something went wrong with that request. Please try again.