diff --git a/tests/runtests.py b/tests/runtests.py index 0dda1dbee6..dbd13e3d0f 100755 --- a/tests/runtests.py +++ b/tests/runtests.py @@ -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', diff --git a/tests/test_runner/tests.py b/tests/test_runner/tests.py index 80ab0f38a5..d6e9af71a1 100644 --- a/tests/test_runner/tests.py +++ b/tests/test_runner/tests.py @@ -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):