mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 19:20:47 +02:00
Test fix for scanner
This commit is contained in:
parent
7bb6bb9e7d
commit
8db3f66c42
2 changed files with 13 additions and 10 deletions
|
@ -1,4 +1,3 @@
|
||||||
from collections import deque
|
|
||||||
import logging
|
import logging
|
||||||
import gevent
|
import gevent
|
||||||
from geventconnpool import ConnectionPool
|
from geventconnpool import ConnectionPool
|
||||||
|
|
|
@ -8,7 +8,8 @@ from django_fsm import FSMField, transition, TransitionNotAllowed # type: ignor
|
||||||
|
|
||||||
from django.db import models
|
from django.db import models
|
||||||
from typing import Any
|
from typing import Any
|
||||||
from epplibwrapper import (
|
try:
|
||||||
|
from epplibwrapper import (
|
||||||
CLIENT as registry,
|
CLIENT as registry,
|
||||||
commands,
|
commands,
|
||||||
common as epp,
|
common as epp,
|
||||||
|
@ -16,7 +17,10 @@ from epplibwrapper import (
|
||||||
info as eppInfo,
|
info as eppInfo,
|
||||||
RegistryError,
|
RegistryError,
|
||||||
ErrorCode,
|
ErrorCode,
|
||||||
)
|
)
|
||||||
|
except ImportError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
from registrar.utility.errors import (
|
from registrar.utility.errors import (
|
||||||
ActionNotAllowed,
|
ActionNotAllowed,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue