Skipped a migrations test that's not supported on MySQL + Python 3.

This commit is contained in:
Tim Graham 2014-05-21 06:54:24 -04:00
parent 27a3cfcd77
commit dfeef8e147
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,7 @@ try:
except ImportError:
sqlparse = None
from django import test
from django.db import connection, migrations, models, router
from django.db.migrations.migration import Migration
from django.db.migrations.state import ProjectState
@ -422,6 +423,7 @@ class OperationTests(MigrationTestBase):
self.assertEqual(pony.digits, "42")
self.assertEqual(pony.quotes, '"\'"')
@test.skipUnlessDBFeature('supports_binary_field')
def test_add_binaryfield(self):
"""
Tests the AddField operation on TextField/BinaryField.