mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-20 17:56:11 +02:00
Resolve lint errors
This commit is contained in:
parent
61d6dda59f
commit
6c26010fe5
2 changed files with 6 additions and 2 deletions
|
@ -257,10 +257,12 @@ class Domain(TimeStampedModel, DomainHelper):
|
|||
|
||||
hostList = []
|
||||
for host in hosts:
|
||||
# can remove str conversion when EPP.IP address display changes from IP object -> IP address
|
||||
# can remove str conversion when EPP.IP address display
|
||||
# changes from IP object -> IP address
|
||||
host_addrs_stringified = [str(addr) for addr in host["addrs"]]
|
||||
host_addrs_str = f'({", ".join(obj for obj in host_addrs_stringified)})'
|
||||
host_info_str = f'{host["name"]} {host_addrs_str if len(host["addrs"]) > 0 else ""}'
|
||||
host_info_str = f'{host["name"]} \
|
||||
{host_addrs_str if len(host["addrs"]) > 0 else ""}'
|
||||
hostList.append(host_info_str)
|
||||
return hostList
|
||||
|
||||
|
|
|
@ -1392,6 +1392,8 @@ class TestDomainNameservers(TestDomainOverview):
|
|||
page = result.follow()
|
||||
self.assertContains(page, "The name servers for this domain have been updated")
|
||||
|
||||
# changed nameserver is reflected on domain overview page
|
||||
|
||||
@skip("Broken by adding registry connection fix in ticket 848")
|
||||
def test_domain_nameservers_form_invalid(self):
|
||||
"""Can change domain's nameservers.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue