mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-18 18:39:21 +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
|
@ -74,6 +74,8 @@ class EPPLibWrapper:
|
|||
}
|
||||
|
||||
self._pool = None
|
||||
# Since we reuse the same creds for each pool, we can test on
|
||||
# one socket, and if successful, then we know we can connect.
|
||||
if not settings.DEBUG or self._test_registry_connection_success():
|
||||
self._pool = EppConnectionPool(
|
||||
client=self._client, login=self._login, options=options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue