[1.7.x] Fix test breakage on MySQL

This commit is contained in:
Andrew Godwin 2014-06-17 00:36:27 -07:00
parent 6e7da2bfaf
commit 57a770b8e5
1 changed files with 3 additions and 1 deletions

View File

@ -287,7 +287,9 @@ class SchemaTests(TransactionTestCase):
) )
# Ensure the field is right afterwards # Ensure the field is right afterwards
columns = self.column_classes(Author) columns = self.column_classes(Author)
self.assertEqual(columns['bits'][0], "BinaryField") # MySQL annoyingly uses the same backend, so it'll come back as one of
# these two types.
self.assertIn(columns['bits'][0], ("BinaryField", "TextField"))
def test_alter(self): def test_alter(self):
""" """