summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
diff options
context:
space:
mode:
authorMads Jensen <mje@inducks.org>2017-08-25 23:54:36 +0200
committerTim Graham <timograham@gmail.com>2017-08-26 09:45:45 -0400
commitfb42d0247136249ea81962474e9a6a2faf1755f1 (patch)
tree251f64fcd23c7f8437ff661943ed85a24861d3fa /tests/postgres_tests
parent3c0b2b80edbe744f45b59fa29219db4997d2a108 (diff)
Refs #25809 -- Omitted pages_per_range from BrinIndex.deconstruct() if it's None.
Diffstat (limited to 'tests/postgres_tests')
-rw-r--r--tests/postgres_tests/test_indexes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/postgres_tests/test_indexes.py b/tests/postgres_tests/test_indexes.py
index d866a8b869..ae4895a03e 100644
--- a/tests/postgres_tests/test_indexes.py
+++ b/tests/postgres_tests/test_indexes.py
@@ -33,7 +33,7 @@ class BrinIndexTests(PostgreSQLTestCase):
path, args, kwargs = index.deconstruct()
self.assertEqual(path, 'django.contrib.postgres.indexes.BrinIndex')
self.assertEqual(args, ())
- self.assertEqual(kwargs, {'fields': ['title'], 'name': 'test_title_brin', 'pages_per_range': None})
+ self.assertEqual(kwargs, {'fields': ['title'], 'name': 'test_title_brin'})
def test_deconstruction_with_pages_per_range(self):
index = BrinIndex(fields=['title'], name='test_title_brin', pages_per_range=16)