mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 19:20:47 +02:00
Rename tests to be actually readable
This commit is contained in:
parent
897fd86e57
commit
ef40468ec8
1 changed files with 2 additions and 2 deletions
|
@ -841,7 +841,7 @@ class TestPortfolio(WebTest):
|
||||||
@less_console_noise_decorator
|
@less_console_noise_decorator
|
||||||
@override_flag("organization_feature", active=True)
|
@override_flag("organization_feature", active=True)
|
||||||
@override_flag("organization_requests", active=True)
|
@override_flag("organization_requests", active=True)
|
||||||
def test_delete_domain_request_as_org_user_with_permission_and_deletable_status(self):
|
def test_org_user_can_delete_own_domain_request_with_permission(self):
|
||||||
"""Test that an org user with edit permission can delete their own DomainRequest with a deletable status."""
|
"""Test that an org user with edit permission can delete their own DomainRequest with a deletable status."""
|
||||||
|
|
||||||
# Assign the user to a portfolio with edit permission
|
# Assign the user to a portfolio with edit permission
|
||||||
|
@ -909,7 +909,7 @@ class TestPortfolio(WebTest):
|
||||||
@less_console_noise_decorator
|
@less_console_noise_decorator
|
||||||
@override_flag("organization_feature", active=True)
|
@override_flag("organization_feature", active=True)
|
||||||
@override_flag("organization_requests", active=True)
|
@override_flag("organization_requests", active=True)
|
||||||
def test_delete_domain_request_as_org_user_not_creator_with_permission_and_deletable_status(self):
|
def test_org_user_cannot_delete_others_domain_requests(self):
|
||||||
"""Test that an org user with edit permission cannot delete DomainRequests they did not create."""
|
"""Test that an org user with edit permission cannot delete DomainRequests they did not create."""
|
||||||
|
|
||||||
# Assign the user to a portfolio with edit permission
|
# Assign the user to a portfolio with edit permission
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue