1
0
mirror of https://github.com/django/django.git synced 2024-12-24 01:55:49 +00:00
django/tests/postgres_tests
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
..
array_default_migrations Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
array_index_migrations Refs #23919 -- Removed encoding preambles and future imports 2017-01-18 09:55:19 +01:00
migrations Fixed #27147 -- Allowed specifying bounds of tuple inputs for non-discrete range fields. 2021-11-04 19:08:57 +01:00
__init__.py Switched TestCase to SimpleTestCase where possible in Django's tests. 2018-11-27 08:58:44 -05:00
fields.py Fixed #27147 -- Allowed specifying bounds of tuple inputs for non-discrete range fields. 2021-11-04 19:08:57 +01:00
integration_settings.py Fixed #30111 -- Fixed AppRegistryNotReady error with django.contrib.postgres in INSTALLED_APPS. 2019-01-22 17:49:30 -05:00
models.py Fixed #27147 -- Allowed specifying bounds of tuple inputs for non-discrete range fields. 2021-11-04 19:08:57 +01:00
test_aggregates.py Fixed #32961 -- Added BitXor() aggregate to django.contrib.postgres. 2021-10-01 10:32:39 +02:00
test_apps.py Refs #29738 -- Added test for serializing psycopg2's NumericRange with DecimalRangeField in migrations. 2021-11-04 19:08:57 +01:00
test_array.py Refs #32355 -- Bumped required psycopg2 version to 2.8.4. 2021-12-22 20:32:55 +01:00
test_bulk_update.py Bumped minimum isort version to 5.1.0. 2020-07-30 10:58:59 +02:00
test_citext.py Fixed #28702 -- Made query lookups for CIText fields use citext. 2017-11-29 10:35:37 -05:00
test_constraints.py Refs #33342 -- Deprecated ExclusionConstraint.opclasses. 2021-12-27 08:55:18 +01:00
test_functions.py Fixed #28626 -- Dropped support for PostgreSQL 9.3. 2017-09-27 11:00:04 -04:00
test_hstore.py Refs #27694 -- Added more tests for chaining lookups with HStoreField key transforms. 2021-10-04 07:18:16 +02:00
test_indexes.py Refs #32943 -- Added support for covering SP-GiST indexes on PostgreSQL 14+. 2021-10-01 13:11:34 +02:00
test_integration.py Refs #30116 -- Simplified stdout/stderr decoding with subprocess.run()'s encoding argument. 2019-11-04 11:21:25 +01:00
test_introspection.py Fixed #12990, Refs #27694 -- Added JSONField model field. 2020-05-08 07:23:31 +02:00
test_operations.py Refs #33476 -- Refactored problematic code before reformatting by Black. 2022-02-03 11:20:46 +01:00
test_ranges.py Fixed #33235 -- Removed "for = ..." from MultiWidget's <label>. 2021-11-05 11:05:52 +01:00
test_search.py Refs #24121 -- Improved Value.__repr__(). 2021-05-24 07:26:53 +02:00
test_signals.py Refs #31233 -- Changed DatabaseWrapper._nodb_connection to _nodb_cursor(). 2020-02-06 15:29:38 +01:00
test_trigram.py Fixed #32492 -- Added TrigramWordSimilarity() and TrigramWordDistance() on PostgreSQL. 2021-09-17 13:05:15 +02:00
test_unaccent.py Switched setUp() to setUpTestData() where possible in Django's tests. 2018-11-27 09:35:17 -05:00