From d6d6caf0a583f712e39b64f50391b648da5cb1ac Mon Sep 17 00:00:00 2001 From: Zacharis278 Date: Mon, 30 Sep 2024 10:21:29 -0400 Subject: [PATCH] style: isort --- edx_name_affirmation/handlers.py | 10 +++++----- edx_name_affirmation/tests/test_handlers.py | 9 ++++----- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/edx_name_affirmation/handlers.py b/edx_name_affirmation/handlers.py index 1512c6c..75bc7da 100644 --- a/edx_name_affirmation/handlers.py +++ b/edx_name_affirmation/handlers.py @@ -4,17 +4,17 @@ import logging -from django.contrib.auth import get_user_model -from django.db.models.signals import post_save -from django.dispatch.dispatcher import receiver - from openedx_events.learning.signals import ( IDV_ATTEMPT_APPROVED, IDV_ATTEMPT_CREATED, IDV_ATTEMPT_DENIED, - IDV_ATTEMPT_PENDING, + IDV_ATTEMPT_PENDING ) +from django.contrib.auth import get_user_model +from django.db.models.signals import post_save +from django.dispatch.dispatcher import receiver + from edx_name_affirmation.models import VerifiedName from edx_name_affirmation.signals import VERIFIED_NAME_APPROVED from edx_name_affirmation.statuses import VerifiedNameStatus diff --git a/edx_name_affirmation/tests/test_handlers.py b/edx_name_affirmation/tests/test_handlers.py index 678d409..3bb07f8 100644 --- a/edx_name_affirmation/tests/test_handlers.py +++ b/edx_name_affirmation/tests/test_handlers.py @@ -4,18 +4,17 @@ import ddt from mock import MagicMock, patch - -from django.contrib.auth import get_user_model -from django.test import TestCase - from openedx_events.learning.data import UserData, UserPersonalData, VerificationAttemptData from openedx_events.learning.signals import ( IDV_ATTEMPT_APPROVED, IDV_ATTEMPT_CREATED, IDV_ATTEMPT_DENIED, - IDV_ATTEMPT_PENDING, + IDV_ATTEMPT_PENDING ) +from django.contrib.auth import get_user_model +from django.test import TestCase + from edx_name_affirmation.handlers import ( handle_idv_event, platform_verification_delete_handler,