Alphabetized CITextExtension in test migration.

This commit is contained in:
Paolo Melchiorre 2017-04-25 18:49:29 -04:00 committed by Tim Graham
parent 56970c5b61
commit a78fd2abd4
1 changed files with 2 additions and 2 deletions

View File

@ -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(),
]