Move RegistrationView from user_api to user_authn.
This commit is contained in:
committed by
Nimisha Asthagiri
parent
5bf2a25842
commit
e026006f9a
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user