mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-27 04:58:42 +02:00
lint
This commit is contained in:
parent
59d1301fd7
commit
714a723231
1 changed files with 3 additions and 15 deletions
|
@ -3079,28 +3079,16 @@ class TestDomainRequestWizard(TestWithUser, WebTest):
|
||||||
|
|
||||||
# Create the site and contacts to delete (orphaned)
|
# Create the site and contacts to delete (orphaned)
|
||||||
contact = Contact.objects.create(
|
contact = Contact.objects.create(
|
||||||
first_name="Henry",
|
first_name="Henry", last_name="Mcfakerson", title="test", email="moar@igorville.gov", phone="1234567890"
|
||||||
last_name="Mcfakerson",
|
|
||||||
title="test",
|
|
||||||
email="moar@igorville.gov",
|
|
||||||
phone="1234567890"
|
|
||||||
)
|
)
|
||||||
# Create two non-orphaned contacts
|
# Create two non-orphaned contacts
|
||||||
contact_2 = Contact.objects.create(
|
contact_2 = Contact.objects.create(
|
||||||
first_name="Saturn",
|
first_name="Saturn", last_name="Mars", title="test", email="moar@igorville.gov", phone="1234567890"
|
||||||
last_name="Mars",
|
|
||||||
title="test",
|
|
||||||
email="moar@igorville.gov",
|
|
||||||
phone="1234567890"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Attach a user object to a contact (should not be deleted)
|
# Attach a user object to a contact (should not be deleted)
|
||||||
contact_user, _ = Contact.objects.get_or_create(
|
contact_user, _ = Contact.objects.get_or_create(
|
||||||
first_name="Hank",
|
first_name="Hank", last_name="McFakey", title="test", email="moar@igorville.gov", phone="1234567890"
|
||||||
last_name="McFakey",
|
|
||||||
title="test",
|
|
||||||
email="moar@igorville.gov",
|
|
||||||
phone="1234567890"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
site = DraftDomain.objects.create(name="igorville.gov")
|
site = DraftDomain.objects.create(name="igorville.gov")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue