diff --git a/src/djangooidc/tests/test_views.py b/src/djangooidc/tests/test_views.py index 36a7e1e47..bdd61b346 100644 --- a/src/djangooidc/tests/test_views.py +++ b/src/djangooidc/tests/test_views.py @@ -307,7 +307,8 @@ class ViewsTest(TestCase): @less_console_noise_decorator def test_login_callback_sets_verification_type_grandfathered(self, mock_client): - """Test that openid sets the verification type to grandfathered on a user which exists in our TransitionDomain table""" + """Test that openid sets the verification type to grandfathered + on a user which exists in our TransitionDomain table""" # SETUP session = self.client.session session.save() diff --git a/src/registrar/management/commands/populate_verification_type.py b/src/registrar/management/commands/populate_verification_type.py index 802116fbc..b61521977 100644 --- a/src/registrar/management/commands/populate_verification_type.py +++ b/src/registrar/management/commands/populate_verification_type.py @@ -1,5 +1,4 @@ import logging -from typing import List from django.core.management import BaseCommand from registrar.management.commands.utility.terminal_helper import PopulateScriptTemplate, TerminalColors from registrar.models import User diff --git a/src/registrar/management/commands/utility/terminal_helper.py b/src/registrar/management/commands/utility/terminal_helper.py index 255d576db..db3e4a9d3 100644 --- a/src/registrar/management/commands/utility/terminal_helper.py +++ b/src/registrar/management/commands/utility/terminal_helper.py @@ -105,7 +105,7 @@ class PopulateScriptTemplate(ABC): @abstractmethod def populate_field(self, field_to_update): """Defines how we update each field. Must be defined before using mass_populate_field.""" - pass # noqa + raise NotImplementedError class TerminalHelper: