mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 18:39:21 +02:00
formatted for code readability
This commit is contained in:
parent
ba94435045
commit
03b33803a0
3 changed files with 3 additions and 4 deletions
|
@ -7,7 +7,6 @@ from api.tests.common import less_console_noise_decorator
|
|||
from gevent.exceptions import ConcurrentObjectUseError
|
||||
from epplibwrapper.client import EPPLibWrapper
|
||||
from epplibwrapper.errors import RegistryError, LoginError
|
||||
from .common import less_console_noise
|
||||
import logging
|
||||
|
||||
try:
|
||||
|
|
|
@ -1684,7 +1684,7 @@ class TestDomainRequestAdmin(MockEppLib):
|
|||
request.user = self.superuser
|
||||
|
||||
request.session = {}
|
||||
|
||||
|
||||
# Define a custom implementation for is_active
|
||||
def custom_is_active(self):
|
||||
return domain_is_active # Override to return True
|
||||
|
|
|
@ -395,7 +395,7 @@ class TestOrganizationMigration(TestCase):
|
|||
# == Third, test that we've loaded data as we expect == #
|
||||
_domain = Domain.objects.filter(name="fakewebsite2.gov").get()
|
||||
domain_information = DomainInformation.objects.filter(domain=_domain).get()
|
||||
|
||||
|
||||
expected_creator = User.objects.filter(username="System").get()
|
||||
expected_so = Contact.objects.filter(
|
||||
first_name="Seline", middle_name="testmiddle2", last_name="Tower"
|
||||
|
@ -450,7 +450,7 @@ class TestOrganizationMigration(TestCase):
|
|||
# == Fourth, test that no data is overwritten as we expect == #
|
||||
_domain = Domain.objects.filter(name="fakewebsite2.gov").get()
|
||||
domain_information = DomainInformation.objects.filter(domain=_domain).get()
|
||||
|
||||
|
||||
expected_creator = User.objects.filter(username="System").get()
|
||||
expected_so = Contact.objects.filter(
|
||||
first_name="Seline", middle_name="testmiddle2", last_name="Tower"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue