summaryrefslogtreecommitdiff
path: root/tests/backends
diff options
context:
space:
mode:
authorDavid Smith <smithdc@gmail.com>2023-02-01 07:13:39 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-02-01 11:04:38 +0100
commit097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 (patch)
tree7042be9ee3aabda10ecfa8923a113388b81f34a8 /tests/backends
parent8c660fb59239828583f17cdede3b64f208b8752c (diff)
Refs #33476 -- Applied Black's 2023 stable style.
Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0
Diffstat (limited to 'tests/backends')
-rw-r--r--tests/backends/mysql/tests.py1
-rw-r--r--tests/backends/sqlite/tests.py1
-rw-r--r--tests/backends/tests.py4
3 files changed, 0 insertions, 6 deletions
diff --git a/tests/backends/mysql/tests.py b/tests/backends/mysql/tests.py
index da6c53de48..b80294abca 100644
--- a/tests/backends/mysql/tests.py
+++ b/tests/backends/mysql/tests.py
@@ -17,7 +17,6 @@ def get_connection():
@override_settings(DEBUG=True)
@unittest.skipUnless(connection.vendor == "mysql", "MySQL tests")
class IsolationLevelTests(TestCase):
-
read_committed = "read committed"
repeatable_read = "repeatable read"
isolation_values = {
diff --git a/tests/backends/sqlite/tests.py b/tests/backends/sqlite/tests.py
index c83cde60dd..88b514270a 100644
--- a/tests/backends/sqlite/tests.py
+++ b/tests/backends/sqlite/tests.py
@@ -117,7 +117,6 @@ class Tests(TestCase):
@unittest.skipUnless(connection.vendor == "sqlite", "SQLite tests")
@isolate_apps("backends")
class SchemaTests(TransactionTestCase):
-
available_apps = ["backends"]
def test_autoincrement(self):
diff --git a/tests/backends/tests.py b/tests/backends/tests.py
index 5f11f91958..bfdf5ed4b4 100644
--- a/tests/backends/tests.py
+++ b/tests/backends/tests.py
@@ -247,7 +247,6 @@ class SequenceResetTest(TestCase):
# This test needs to run outside of a transaction, otherwise closing the
# connection would implicitly rollback and cause problems during teardown.
class ConnectionCreatedSignalTest(TransactionTestCase):
-
available_apps = []
# Unfortunately with sqlite3 the in-memory test database cannot be closed,
@@ -297,7 +296,6 @@ class EscapingChecksDebug(EscapingChecks):
class BackendTestCase(TransactionTestCase):
-
available_apps = ["backends"]
def create_squares_with_executemany(self, args):
@@ -597,7 +595,6 @@ class BackendTestCase(TransactionTestCase):
# These tests aren't conditional because it would require differentiating
# between MySQL+InnoDB and MySQL+MYISAM (something we currently can't do).
class FkConstraintsTests(TransactionTestCase):
-
available_apps = ["backends"]
def setUp(self):
@@ -753,7 +750,6 @@ class FkConstraintsTests(TransactionTestCase):
class ThreadTests(TransactionTestCase):
-
available_apps = ["backends"]
def test_default_connection_thread_local(self):