mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-17 15:04:11 +02:00
Import fix test
This commit is contained in:
parent
d38c33e4d9
commit
939ff4b063
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
from .domain_application import DomainApplication
|
try:
|
||||||
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue