Skip to content

Commit

Permalink
Comment added a removed unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
markj0hnst0n committed Nov 21, 2024
1 parent e97e9f3 commit 9824e57
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 0 additions & 1 deletion healthcheck/tests/test_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
LicencePayloadsHealthCheck,
MailboxAuthenticationHealthCheck,
PendingMailHealthCheck,
SimpleHealthCheck,
)
from mail.enums import LicenceActionEnum, ReceptionStatusEnum
from mail.models import LicencePayload, Mail
Expand Down
7 changes: 7 additions & 0 deletions healthcheck/tests/test_healthcheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ def test_healthcheck_down(client, backends):
)


"""
The tests below expect a 200 response whether healthchecks produce a healthy
response or not as the url is used by DBT platform pipeline to check that
the django app is alive.
"""


def test_service_available_check_broken(client, backends):
backends.reset()
backends.register(HealthCheckBroken)
Expand Down

0 comments on commit 9824e57

Please sign in to comment.