From 275e0c7527bc06fdaa0e4211708a43f4142ba8db Mon Sep 17 00:00:00 2001
From: Awais Qureshi <awais.qureshi@arbisoft.com>
Date: Fri, 19 Mar 2021 15:30:01 +0500
Subject: [PATCH] refactor: remove unused imports.

---
 common/djangoapps/student/tests/factories.py                | 1 -
 common/djangoapps/student/tests/test_admin_views.py         | 1 -
 common/djangoapps/student/tests/test_course_listing.py      | 1 -
 common/djangoapps/student/tests/test_email.py               | 1 -
 common/djangoapps/student/tests/test_enrollment.py          | 1 -
 common/djangoapps/student/tests/test_long_username_email.py | 1 +
 common/djangoapps/student/tests/test_views.py               | 1 -
 7 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/common/djangoapps/student/tests/factories.py b/common/djangoapps/student/tests/factories.py
index 5f404c1e963..ecffdf63cd1 100644
--- a/common/djangoapps/student/tests/factories.py
+++ b/common/djangoapps/student/tests/factories.py
@@ -5,7 +5,6 @@ from datetime import datetime
 from uuid import uuid4
 
 import factory
-import six
 from django.contrib.auth.models import AnonymousUser, Group, Permission
 from django.contrib.contenttypes.models import ContentType
 from factory.django import DjangoModelFactory
diff --git a/common/djangoapps/student/tests/test_admin_views.py b/common/djangoapps/student/tests/test_admin_views.py
index 4b5a351b788..c19af005186 100644
--- a/common/djangoapps/student/tests/test_admin_views.py
+++ b/common/djangoapps/student/tests/test_admin_views.py
@@ -8,7 +8,6 @@ from unittest.mock import Mock
 
 import ddt
 import pytest
-import six
 from django.contrib.admin.sites import AdminSite
 from django.contrib.auth.models import User  # lint-amnesty, pylint: disable=imported-auth-user
 from django.forms import ValidationError
diff --git a/common/djangoapps/student/tests/test_course_listing.py b/common/djangoapps/student/tests/test_course_listing.py
index c061ed38998..4679f5e0538 100644
--- a/common/djangoapps/student/tests/test_course_listing.py
+++ b/common/djangoapps/student/tests/test_course_listing.py
@@ -7,7 +7,6 @@ by reversing group name formats.
 import unittest
 
 from unittest import mock
-import six
 from django.conf import settings
 from django.test.client import Client
 from milestones.tests.utils import MilestonesTestCaseMixin
diff --git a/common/djangoapps/student/tests/test_email.py b/common/djangoapps/student/tests/test_email.py
index f11f35a1fb3..5c48dc8ee01 100644
--- a/common/djangoapps/student/tests/test_email.py
+++ b/common/djangoapps/student/tests/test_email.py
@@ -15,7 +15,6 @@ from django.test.client import RequestFactory
 from django.urls import reverse
 from django.utils.html import escape
 from edx_toggles.toggles.testutils import override_waffle_flag
-from six import text_type
 
 from common.djangoapps.edxmako.shortcuts import marketing_link
 from common.djangoapps.student.email_helpers import generate_proctoring_requirements_email_context
diff --git a/common/djangoapps/student/tests/test_enrollment.py b/common/djangoapps/student/tests/test_enrollment.py
index 483aa39f462..0b34fd107de 100644
--- a/common/djangoapps/student/tests/test_enrollment.py
+++ b/common/djangoapps/student/tests/test_enrollment.py
@@ -8,7 +8,6 @@ from unittest.mock import patch
 
 import ddt
 import pytest
-import six
 from django.conf import settings
 from django.urls import reverse
 from edx_toggles.toggles.testutils import override_waffle_flag
diff --git a/common/djangoapps/student/tests/test_long_username_email.py b/common/djangoapps/student/tests/test_long_username_email.py
index dbb5669a4db..bee416100e9 100644
--- a/common/djangoapps/student/tests/test_long_username_email.py
+++ b/common/djangoapps/student/tests/test_long_username_email.py
@@ -1,3 +1,4 @@
+""" Test case for longer user emails."""
 import json
 
 from django.test import TestCase
diff --git a/common/djangoapps/student/tests/test_views.py b/common/djangoapps/student/tests/test_views.py
index fd79c1835ea..59d91b20da0 100644
--- a/common/djangoapps/student/tests/test_views.py
+++ b/common/djangoapps/student/tests/test_views.py
@@ -11,7 +11,6 @@ from datetime import timedelta  # lint-amnesty, pylint: disable=unused-import
 from unittest.mock import patch
 
 import ddt
-import six
 from completion.test_utils import CompletionWaffleTestMixin, submit_completions_for_testing
 from django.conf import settings
 from django.test import TestCase
-- 
GitLab