diff --git a/beat/web/settings/test.py b/beat/web/settings/test.py index 777364011d31a875c0052f32c61122bd194dd575..8ac050df73c4f69d56ea652e9c42265e631fd114 100755 --- a/beat/web/settings/test.py +++ b/beat/web/settings/test.py @@ -28,7 +28,6 @@ # Django settings for tests import os import platform -import sys from .settings import * # noqa @@ -58,10 +57,6 @@ DATABASES["default"]["ATOMIC_REQUESTS"] = True # noqa # Timeout used in test when waiting for an update DB_REFRESH_TIMEOUT = int(os.environ.get("DB_REFRESH_TIMEOUT", 10)) -if "beat.cmdline" in sys.argv: - # make it in-memory for cmdline app tests - DATABASES["default"]["NAME"] = ":memory:" # noqa - LOGGING["handlers"]["console"]["level"] = "DEBUG" # noqa LOGGING["loggers"]["beat.core"]["handlers"] = ["discard"] # noqa LOGGING["loggers"]["beat.web"]["handlers"] = ["discard"] # noqa