mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 10:29:23 +02:00
adjusted line lengths
This commit is contained in:
parent
72297b4a1c
commit
9b9e4064e4
2 changed files with 4 additions and 2 deletions
|
@ -1333,7 +1333,8 @@ class DomainRequest(TimeStampedModel):
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
"""the following converted_ property methods get their respective field names from portfolio, if the domain request has a portfolio. if it does not, it will get the info from the model itself."""
|
"""the following converted_ property methods get their respective field names from portfolio,
|
||||||
|
if the domain request has a portfolio. if it does not, it will get the info from the model itself."""
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def converted_organization_name(self):
|
def converted_organization_name(self):
|
||||||
|
|
|
@ -1050,7 +1050,8 @@ class TestDomainRequest(TestCase):
|
||||||
|
|
||||||
@less_console_noise_decorator
|
@less_console_noise_decorator
|
||||||
def test_converted_type(self):
|
def test_converted_type(self):
|
||||||
"""test that new property fields works as expected to pull domain req info such as fed agency, generic org type, and others from portfolio"""
|
"""test that new property fields works as expected to pull domain req info such as fed agency,
|
||||||
|
generic org type, and others from portfolio"""
|
||||||
fed_agency = FederalAgency.objects.filter(agency="Non-Federal Agency").first()
|
fed_agency = FederalAgency.objects.filter(agency="Non-Federal Agency").first()
|
||||||
portfolio = Portfolio.objects.create(
|
portfolio = Portfolio.objects.create(
|
||||||
organization_name="Test Portfolio",
|
organization_name="Test Portfolio",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue