Refs #25415 -- Fixed/silenced check errors in Django's test suite.

This commit is contained in:
Adam Chainz 2016-03-18 14:24:29 +00:00 committed by Tim Graham
parent e3e80da7a5
commit 6d947e8c32
2 changed files with 4 additions and 2 deletions

View File

@ -163,6 +163,10 @@ def setup(verbosity, test_labels, parallel):
# tests.
log_config['loggers']['django']['level'] = 'ERROR'
settings.LOGGING = log_config
settings.SILENCED_SYSTEM_CHECKS = [
'fields.W342', # ForeignKey(unique=True) -> OneToOneField
'fields.W901', # CommaSeparatedIntegerField deprecated
]
warnings.filterwarnings(
'ignore',

View File

@ -204,8 +204,6 @@ class Ticket17477RegressionTests(AdminScriptTestCase):
class Sqlite3InMemoryTestDbs(TestCase):
available_apps = []
@unittest.skipUnless(all(db.connections[conn].vendor == 'sqlite' for conn in db.connections),
"This is an sqlite-specific issue")
def test_transaction_support(self):