diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2014-06-17 00:36:27 -0700 |
|---|---|---|
| committer | Andrew Godwin <andrew@aeracode.org> | 2014-06-17 00:36:27 -0700 |
| commit | 61d7ae31cf286277ddefaf8006597be40388d2ee (patch) | |
| tree | 2f62ba71074f70ab330f885b32ce957795f6c588 | |
| parent | d359647715bccffd7cfc5eb8bcf5edb5c714fb00 (diff) | |
Fix test breakage on MySQL
| -rw-r--r-- | tests/schema/tests.py | 4 |
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): """ |
