summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/postgres_tests/test_introspection.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/postgres_tests/test_introspection.py b/tests/postgres_tests/test_introspection.py
index b17d9fc81a..683292ddec 100644
--- a/tests/postgres_tests/test_introspection.py
+++ b/tests/postgres_tests/test_introspection.py
@@ -24,17 +24,17 @@ class InspectDBTests(PostgreSQLTestCase):
def test_json_field(self):
self.assertFieldsInModel(
'postgres_tests_jsonmodel',
- ['field = django.contrib.postgresql.fields.JSONField(blank=True, null=True)'],
+ ['field = django.contrib.postgres.fields.JSONField(blank=True, null=True)'],
)
def test_range_fields(self):
self.assertFieldsInModel(
'postgres_tests_rangesmodel',
[
- 'ints = django.contrib.postgresql.fields.IntegerRangeField(blank=True, null=True)',
- 'bigints = django.contrib.postgresql.fields.BigIntegerRangeField(blank=True, null=True)',
- 'floats = django.contrib.postgresql.fields.FloatRangeField(blank=True, null=True)',
- 'timestamps = django.contrib.postgresql.fields.DateTimeRangeField(blank=True, null=True)',
- 'dates = django.contrib.postgresql.fields.DateRangeField(blank=True, null=True)',
+ 'ints = django.contrib.postgres.fields.IntegerRangeField(blank=True, null=True)',
+ 'bigints = django.contrib.postgres.fields.BigIntegerRangeField(blank=True, null=True)',
+ 'floats = django.contrib.postgres.fields.FloatRangeField(blank=True, null=True)',
+ 'timestamps = django.contrib.postgres.fields.DateTimeRangeField(blank=True, null=True)',
+ 'dates = django.contrib.postgres.fields.DateRangeField(blank=True, null=True)',
],
)