ran formatting command

This commit is contained in:
asaki222 2024-09-10 11:27:32 -04:00
parent f7c3579a93
commit 1203e54352
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4
6 changed files with 17 additions and 21 deletions

View file

@ -73,7 +73,6 @@ class CheckUserProfileMiddleware:
finished_setup flag on the current user. If they haven't done so, finished_setup flag on the current user. If they haven't done so,
then we redirect them to the finish setup page.""" then we redirect them to the finish setup page."""
if request.user.is_authenticated: if request.user.is_authenticated:
profile_page = self.profile_page profile_page = self.profile_page
if request.user.verification_type == User.VerificationTypeChoices.REGULAR: if request.user.verification_type == User.VerificationTypeChoices.REGULAR:

View file

@ -836,7 +836,6 @@ class UserProfileTests(TestWithUser, WebTest):
self.assertEqual(response.status_code, 500) self.assertEqual(response.status_code, 500)
self.assertContains(response, "Your profile") self.assertContains(response, "Your profile")
@less_console_noise_decorator @less_console_noise_decorator
def test_home_page_main_nav(self): def test_home_page_main_nav(self):
"""test that Your profile is in main nav of home page""" """test that Your profile is in main nav of home page"""
@ -844,7 +843,6 @@ class UserProfileTests(TestWithUser, WebTest):
response = self.client.get("/", follow=True) response = self.client.get("/", follow=True)
self.assertContains(response, "Your profile") self.assertContains(response, "Your profile")
@less_console_noise_decorator @less_console_noise_decorator
def test_new_request_main_nav(self): def test_new_request_main_nav(self):
"""test that Your profile is in main nav of new request""" """test that Your profile is in main nav of new request"""

View file

@ -439,7 +439,6 @@ class DomainRequestWizard(DomainRequestWizardPermissionView, TemplateView):
if condition: if condition:
step_list.append(step) step_list.append(step)
step_list.remove(Step.YOUR_CONTACT) step_list.remove(Step.YOUR_CONTACT)
return step_list return step_list