mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-03 11:07:25 +02:00
Test fix for security scanner
This commit is contained in:
parent
dfec8c200e
commit
fa6ed6f318
3 changed files with 7 additions and 1 deletions
|
@ -42,7 +42,8 @@ class Socket:
|
|||
return code >= 2000
|
||||
|
||||
def test_connection_success(self):
|
||||
"""Tests if a successful connection can be made with the registry"""
|
||||
"""Tests if a successful connection can be made with the registry.
|
||||
Tries 3 times"""
|
||||
# Something went wrong if this doesn't exist
|
||||
if not hasattr(self.client, "connect"):
|
||||
return False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue