Kaydet (Commit) 61d7ae31 authored tarafından Andrew Godwin's avatar Andrew Godwin

Fix test breakage on MySQL

üst d3596477
......@@ -287,7 +287,9 @@ class SchemaTests(TransactionTestCase):
)
# Ensure the field is right afterwards
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):
"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment