summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Godwin <andrew@aeracode.org>2014-06-17 00:36:27 -0700
committerAndrew Godwin <andrew@aeracode.org>2014-06-17 00:36:27 -0700
commit61d7ae31cf286277ddefaf8006597be40388d2ee (patch)
tree2f62ba71074f70ab330f885b32ce957795f6c588
parentd359647715bccffd7cfc5eb8bcf5edb5c714fb00 (diff)
Fix test breakage on MySQL
-rw-r--r--tests/schema/tests.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/schema/tests.py b/tests/schema/tests.py
index f3b9423147..816c8e26c5 100644
--- a/tests/schema/tests.py
+++ b/tests/schema/tests.py
@@ -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):
"""