mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
This commit is contained in:
@@ -236,7 +236,7 @@ class Sqlite3InMemoryTestDbs(TestCase):
|
||||
class DummyBackendTest(unittest.TestCase):
|
||||
def test_setup_databases(self):
|
||||
"""
|
||||
Test that setup_databases() doesn't fail with dummy database backend.
|
||||
setup_databases() doesn't fail with dummy database backend.
|
||||
"""
|
||||
tested_connections = db.ConnectionHandler({})
|
||||
with mock.patch('django.test.utils.connections', new=tested_connections):
|
||||
@@ -248,7 +248,7 @@ class DummyBackendTest(unittest.TestCase):
|
||||
class AliasedDefaultTestSetupTest(unittest.TestCase):
|
||||
def test_setup_aliased_default_database(self):
|
||||
"""
|
||||
Test that setup_datebases() doesn't fail when 'default' is aliased
|
||||
setup_datebases() doesn't fail when 'default' is aliased
|
||||
"""
|
||||
tested_connections = db.ConnectionHandler({
|
||||
'default': {
|
||||
@@ -353,7 +353,7 @@ class AutoIncrementResetTest(TransactionTestCase):
|
||||
class EmptyDefaultDatabaseTest(unittest.TestCase):
|
||||
def test_empty_default_database(self):
|
||||
"""
|
||||
Test that an empty default database in settings does not raise an ImproperlyConfigured
|
||||
An empty default database in settings does not raise an ImproperlyConfigured
|
||||
error when running a unit test that does not use a database.
|
||||
"""
|
||||
testcases.connections = db.ConnectionHandler({'default': {}})
|
||||
|
||||
Reference in New Issue
Block a user