tests: skip data migrations on django 2.2
This commit is contained in:
parent
09fd5ec8d8
commit
9ffcf645da
|
@ -2,6 +2,7 @@ import uuid
|
|||
|
||||
import pytest
|
||||
|
||||
import django
|
||||
from django.db import connection
|
||||
from django.db.migrations.executor import MigrationExecutor
|
||||
|
||||
|
@ -9,6 +10,8 @@ pytestmark = pytest.mark.django_db
|
|||
|
||||
|
||||
def test_subscription_sms_identifier_format_migration():
|
||||
if django.VERSION >= (2, 0, 0):
|
||||
pytest.skip('NotSupportedError')
|
||||
executor = MigrationExecutor(connection)
|
||||
app = 'corbo'
|
||||
migrate_from = [(app, '0009_auto_20170120_1533')]
|
||||
|
|
Reference in New Issue