mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-17 15:04:11 +02:00
add delete
This commit is contained in:
parent
e078248e02
commit
897fd86e57
1 changed files with 3 additions and 0 deletions
|
@ -870,6 +870,7 @@ class TestPortfolio(WebTest):
|
||||||
|
|
||||||
# Check that the domain request no longer exists
|
# Check that the domain request no longer exists
|
||||||
self.assertFalse(DomainRequest.objects.filter(pk=domain_request.pk).exists())
|
self.assertFalse(DomainRequest.objects.filter(pk=domain_request.pk).exists())
|
||||||
|
domain_request.delete()
|
||||||
|
|
||||||
@less_console_noise_decorator
|
@less_console_noise_decorator
|
||||||
@override_flag("organization_feature", active=True)
|
@override_flag("organization_feature", active=True)
|
||||||
|
@ -903,6 +904,7 @@ class TestPortfolio(WebTest):
|
||||||
|
|
||||||
# Check that the domain request still exists
|
# Check that the domain request still exists
|
||||||
self.assertTrue(DomainRequest.objects.filter(pk=domain_request.pk).exists())
|
self.assertTrue(DomainRequest.objects.filter(pk=domain_request.pk).exists())
|
||||||
|
domain_request.delete()
|
||||||
|
|
||||||
@less_console_noise_decorator
|
@less_console_noise_decorator
|
||||||
@override_flag("organization_feature", active=True)
|
@override_flag("organization_feature", active=True)
|
||||||
|
@ -937,3 +939,4 @@ class TestPortfolio(WebTest):
|
||||||
|
|
||||||
# Check that the domain request still exists
|
# Check that the domain request still exists
|
||||||
self.assertTrue(DomainRequest.objects.filter(pk=domain_request.pk).exists())
|
self.assertTrue(DomainRequest.objects.filter(pk=domain_request.pk).exists())
|
||||||
|
domain_request.delete()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue