1
0
mirror of https://github.com/django/django.git synced 2024-12-24 01:55:49 +00:00
django/tests/test_utils
Mariusz Felisiak c5cd878382
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],
)
2022-02-03 11:20:46 +01:00
..
fixtures
templates/template_used
__init__.py
models.py Fixed #33333 -- Fixed setUpTestData() crash with models.BinaryField on PostgreSQL. 2021-12-03 11:56:22 +01:00
test_serializemixin.py
test_simpletestcase.py
test_testcase.py Fixed #33333 -- Fixed setUpTestData() crash with models.BinaryField on PostgreSQL. 2021-12-03 11:56:22 +01:00
test_transactiontestcase.py Fixed #33278 -- Improved error for connection/query attempts against disallowed databases in tests. 2021-11-15 11:46:10 +01:00
tests.py Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:20:46 +01:00
urls.py
views.py