django1/tests/test_utils
Mariusz Felisiak d55a1e5809 [4.0.x] Refs #33476 -- Refactored problematic code before reformatting by Black.
In these cases Black produces unexpected results, e.g.

def make_random_password(
    self,
    length=10,
    allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789',
):

or

cursor.execute("""
SELECT ...
""",
    [table name],
)

Backport of c5cd878382 from main.
2022-02-03 11:38:46 +01:00
..
fixtures
templates/template_used
__init__.py
models.py [4.0.x] Fixed #33333 -- Fixed setUpTestData() crash with models.BinaryField on PostgreSQL. 2021-12-03 11:58:55 +01:00
test_serializemixin.py Made SerializeMixin check lockfile attr at import time. 2021-06-04 12:29:09 +02:00
test_simpletestcase.py Fixed #27391 -- Implemented SimpleTestCase.debug(). 2019-10-18 12:22:51 +02:00
test_testcase.py [4.0.x] Fixed #33333 -- Fixed setUpTestData() crash with models.BinaryField on PostgreSQL. 2021-12-03 11:58:55 +01:00
test_transactiontestcase.py Refs #31117 -- Made various tests properly handle unexpected databases aliases. 2020-01-20 14:39:02 +01:00
tests.py [4.0.x] Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:38:46 +01:00
urls.py Fixed #30121 -- Fixed assertURLEqual() crash with reverse_lazy() URLs. 2019-01-21 09:31:33 -05:00
views.py Removed default empty content argument from HttpResponse calls. 2019-02-09 16:27:32 -05:00