mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 23:16:36 +02:00
ran formatting command
This commit is contained in:
parent
f7c3579a93
commit
1203e54352
6 changed files with 17 additions and 21 deletions
|
@ -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:
|
||||||
|
|
|
@ -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"""
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue