mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-24 03:30:50 +02:00
Init commit of biz logic and fixed unit tests
This commit is contained in:
parent
64d0ec3f93
commit
d6355f2293
3 changed files with 101 additions and 3 deletions
|
@ -28,8 +28,9 @@ from registrar.models import (
|
|||
User,
|
||||
DomainInvitation,
|
||||
Contact,
|
||||
PublicContact,
|
||||
Host,
|
||||
Website,
|
||||
DraftDomain,
|
||||
)
|
||||
from registrar.models.user_domain_role import UserDomainRole
|
||||
from registrar.models.verified_by_staff import VerifiedByStaff
|
||||
|
@ -618,6 +619,8 @@ class TestDomainAdmin(MockEppLib, WebTest):
|
|||
|
||||
def tearDown(self):
|
||||
super().tearDown()
|
||||
PublicContact.objects.all().delete()
|
||||
Host.objects.all().delete()
|
||||
Domain.objects.all().delete()
|
||||
DomainInformation.objects.all().delete()
|
||||
DomainRequest.objects.all().delete()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue