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: except ImportError:
BtreeGinExtension = mock.Mock() BtreeGinExtension = mock.Mock()
CITextExtension = mock.Mock()
CreateExtension = mock.Mock() CreateExtension = mock.Mock()
HStoreExtension = mock.Mock() HStoreExtension = mock.Mock()
TrigramExtension = mock.Mock() TrigramExtension = mock.Mock()
UnaccentExtension = mock.Mock() UnaccentExtension = mock.Mock()
CITextExtension = mock.Mock()
class Migration(migrations.Migration): class Migration(migrations.Migration):
operations = [ operations = [
BtreeGinExtension(), BtreeGinExtension(),
CITextExtension(),
# Ensure CreateExtension quotes extension names by creating one with a # Ensure CreateExtension quotes extension names by creating one with a
# dash in its name. # dash in its name.
CreateExtension('uuid-ossp'), CreateExtension('uuid-ossp'),
HStoreExtension(), HStoreExtension(),
TrigramExtension(), TrigramExtension(),
UnaccentExtension(), UnaccentExtension(),
CITextExtension(),
] ]