Skip to content
Snippets Groups Projects
Unverified Commit 99767716 authored by Douglas Hall's avatar Douglas Hall Committed by GitHub
Browse files

Merge pull request #17099 from edx/douglashall/ENT-779_migration_2

Revert "Revert "ENT-779 Remove ProviderConfig.drop_existing_session f…
parents 9bb67e7f 9071117e
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('third_party_auth', '0013_sync_learner_profile_data'),
]
operations = [
migrations.RemoveField(
model_name='ltiproviderconfig',
name='drop_existing_session',
),
migrations.RemoveField(
model_name='oauth2providerconfig',
name='drop_existing_session',
),
migrations.RemoveField(
model_name='samlproviderconfig',
name='drop_existing_session',
),
]
......@@ -237,10 +237,4 @@ class MigrationTests(TestCase):
out = StringIO()
call_command('makemigrations', dry_run=True, verbosity=3, stdout=out)
output = out.getvalue()
# Temporarily disable this check so we can remove
# the ProviderConfig.drop_existing_session field.
# We will restore this check once the code referencing
# this field has been deleted/released and a migration
# for field removal has been added.
if 'Remove field' not in output:
self.assertIn('No changes detected', output)
self.assertIn('No changes detected', output)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment