Move RegistrationView from user_api to user_authn.

This commit is contained in:
Diana Huang
2019-10-28 16:36:21 -04:00
committed by Nimisha Asthagiri
parent 5bf2a25842
commit e026006f9a
8 changed files with 2031 additions and 1951 deletions

View File

@@ -13,6 +13,7 @@ from django.contrib.auth.models import User
from django.test import TestCase
from django.urls import reverse
from openedx.core.djangolib.testing.utils import skip_unless_lms
from student.models import (
_get_all_retired_emails_by_email,
_get_all_retired_usernames_by_username,
@@ -258,6 +259,7 @@ def test_get_potentially_retired_user_bad_hash():
@ddt.ddt
@skip_unless_lms
class TestRegisterRetiredUsername(TestCase):
"""
Tests to ensure that retired usernames can no longer be used in registering new accounts.