Import fix test

This commit is contained in:
zandercymatics 2023-10-17 13:34:24 -06:00
parent d38c33e4d9
commit 939ff4b063
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 6 additions and 2 deletions

View file

@ -14,7 +14,7 @@ if [[ "$ENV_TYPE" == "pipenv" ]]; then
cd $REQS cd $REQS
pip3 install pipenv pip3 install pipenv
PIPENV_IGNORE_VIRTUALENVS=1 pipenv install PIPENV_IGNORE_VIRTUALENVS=1 pipenv install
cd $MANAGE_PATH && PIPENV_IGNORE_VIRTUALENVS=1 pipenv run python manage.py check --deploy --fail-level ${FAIL} ${ARGS} &> output.txt cd $MANAGE_PATH && PIPENV_IGNORE_VIRTUALENVS=1 pipenv run python3 manage.py check --deploy --fail-level ${FAIL} ${ARGS} &> output.txt
EXIT_CODE=$? EXIT_CODE=$?
fi fi
if [[ "$ENV_TYPE" == "venv" ]]; then if [[ "$ENV_TYPE" == "venv" ]]; then

View file

@ -1,7 +1,11 @@
from auditlog.registry import auditlog # type: ignore from auditlog.registry import auditlog # type: ignore
from .contact import Contact from .contact import Contact
try:
from .domain_application import DomainApplication from .domain_application import DomainApplication
except ImportError as err:
print(err.with_traceback())
pass
from .domain_information import DomainInformation from .domain_information import DomainInformation
from .domain import Domain from .domain import Domain
from .draft_domain import DraftDomain from .draft_domain import DraftDomain