diff --git a/InvenTree/InvenTree/status.py b/InvenTree/InvenTree/status.py index 512c68e93b..1c2adb8821 100644 --- a/InvenTree/InvenTree/status.py +++ b/InvenTree/InvenTree/status.py @@ -60,21 +60,21 @@ def is_email_configured(): configured = False # Display warning unless in test mode - if not settings.TESTING: + if not settings.TESTING: # pragma: no cover logger.debug("EMAIL_HOST is not configured") if not settings.EMAIL_HOST_USER: configured = False # Display warning unless in test mode - if not settings.TESTING: + if not settings.TESTING: # pragma: no cover logger.debug("EMAIL_HOST_USER is not configured") if not settings.EMAIL_HOST_PASSWORD: configured = False # Display warning unless in test mode - if not settings.TESTING: + if not settings.TESTING: # pragma: no cover logger.debug("EMAIL_HOST_PASSWORD is not configured") return configured