removed profile feature from docs

This commit is contained in:
asaki222 2024-09-18 15:47:49 -04:00
parent 6be34e0677
commit 7a812101c9
No known key found for this signature in database
GPG key ID: 2C4F802060E06EA4
3 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ class WaffleFlag(AbstractUserFlag):
Custom implementation of django-waffles 'Flag' object. Custom implementation of django-waffles 'Flag' object.
Read more here: https://waffle.readthedocs.io/en/stable/types/flag.html Read more here: https://waffle.readthedocs.io/en/stable/types/flag.html
Use this class when dealing with feature flags, such as profile_feature. Use this class when dealing with feature flags.
""" """
class Meta: class Meta:

View file

@ -258,7 +258,7 @@ class TestDomainRequest(TestCase):
@less_console_noise_decorator @less_console_noise_decorator
def test_submit_from_started_sends_email_to_creator(self): def test_submit_from_started_sends_email_to_creator(self):
"""Tests if, when the profile feature flag is on, we send an email to the creator""" """tests that we send an email to the creator"""
msg = "Create a domain request and submit it and see if email was sent when the feature flag is on." msg = "Create a domain request and submit it and see if email was sent when the feature flag is on."
domain_request = completed_domain_request(user=self.dummy_user_2) domain_request = completed_domain_request(user=self.dummy_user_2)
self.check_email_sent( self.check_email_sent(

View file

@ -941,13 +941,13 @@ class UserProfileTests(TestWithUser, WebTest):
@less_console_noise_decorator @less_console_noise_decorator
def test_domain_your_contact_information(self): def test_domain_your_contact_information(self):
"""test that Your contact information is not accessible when profile feature is on""" """test that your contact information is not accessible"""
response = self.client.get(f"/domain/{self.domain.id}/your-contact-information", follow=True) response = self.client.get(f"/domain/{self.domain.id}/your-contact-information", follow=True)
self.assertEqual(response.status_code, 404) self.assertEqual(response.status_code, 404)
@less_console_noise_decorator @less_console_noise_decorator
def test_profile_request_page(self): def test_profile_request_page(self):
"""test that Your profile is in request""" """test that your profile is in request"""
contact_user, _ = Contact.objects.get_or_create( contact_user, _ = Contact.objects.get_or_create(
first_name="Hank", first_name="Hank",