mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-20 17:56:11 +02:00
test
This commit is contained in:
parent
0dde277c86
commit
faa35613e2
3 changed files with 9 additions and 3 deletions
|
@ -44,6 +44,8 @@ except NameError:
|
|||
|
||||
# Attn: these imports should NOT be at the top of the file
|
||||
try:
|
||||
from epplibwrapper.socket import Socket
|
||||
from epplibwrapper.utility.pool_error import PoolError, PoolErrorCodes
|
||||
from .client import CLIENT, commands
|
||||
from .errors import RegistryError, ErrorCode
|
||||
from epplib.models import common, info
|
||||
|
@ -61,4 +63,7 @@ __all__ = [
|
|||
"info",
|
||||
"ErrorCode",
|
||||
"RegistryError",
|
||||
"Socket",
|
||||
"PoolError",
|
||||
"PoolErrorCodes"
|
||||
]
|
||||
|
|
|
@ -81,7 +81,8 @@ class EPPLibWrapper:
|
|||
self.pool_status = PoolStatus()
|
||||
|
||||
if start_connection_pool:
|
||||
self.start_connection_pool()
|
||||
pass
|
||||
#self.start_connection_pool()
|
||||
|
||||
def _send(self, command):
|
||||
"""Helper function used by `send`."""
|
||||
|
|
|
@ -3,12 +3,12 @@ import gevent
|
|||
from geventconnpool import ConnectionPool
|
||||
from epplibwrapper.socket import Socket
|
||||
from epplibwrapper.utility.pool_error import PoolError, PoolErrorCodes
|
||||
|
||||
try:
|
||||
from epplib.commands import Hello
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue