Test fix for scanner

This commit is contained in:
zandercymatics 2023-10-16 13:44:00 -06:00
parent 7bb6bb9e7d
commit 8db3f66c42
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 13 additions and 10 deletions

View file

@ -8,15 +8,19 @@ from django_fsm import FSMField, transition, TransitionNotAllowed # type: ignor
from django.db import models
from typing import Any
from epplibwrapper import (
CLIENT as registry,
commands,
common as epp,
extensions,
info as eppInfo,
RegistryError,
ErrorCode,
)
try:
from epplibwrapper import (
CLIENT as registry,
commands,
common as epp,
extensions,
info as eppInfo,
RegistryError,
ErrorCode,
)
except ImportError:
pass
from registrar.utility.errors import (
ActionNotAllowed,