summaryrefslogtreecommitdiff
path: root/tests/postgres_tests
diff options
context:
space:
mode:
authorPaolo Melchiorre <paolo@melchiorre.org>2017-04-25 18:49:29 -0400
committerTim Graham <timograham@gmail.com>2017-04-25 19:32:39 -0400
commita78fd2abd48811a824d9ac61e61ce106567380a8 (patch)
treee23390280daccd3d7c85f5c34eecaeba780841d3 /tests/postgres_tests
parent56970c5b61f8f1612944dc54b72ef210d433066f (diff)
Alphabetized CITextExtension in test migration.
Diffstat (limited to 'tests/postgres_tests')
-rw-r--r--tests/postgres_tests/migrations/0001_setup_extensions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/postgres_tests/migrations/0001_setup_extensions.py b/tests/postgres_tests/migrations/0001_setup_extensions.py
index 6342ba7732..d090ff7fd6 100644
--- a/tests/postgres_tests/migrations/0001_setup_extensions.py
+++ b/tests/postgres_tests/migrations/0001_setup_extensions.py
@@ -9,22 +9,22 @@ try:
)
except ImportError:
BtreeGinExtension = mock.Mock()
+ CITextExtension = mock.Mock()
CreateExtension = mock.Mock()
HStoreExtension = mock.Mock()
TrigramExtension = mock.Mock()
UnaccentExtension = mock.Mock()
- CITextExtension = mock.Mock()
class Migration(migrations.Migration):
operations = [
BtreeGinExtension(),
+ CITextExtension(),
# Ensure CreateExtension quotes extension names by creating one with a
# dash in its name.
CreateExtension('uuid-ossp'),
HStoreExtension(),
TrigramExtension(),
UnaccentExtension(),
- CITextExtension(),
]