mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 08:33:43 +00:00
settings: Move TEST_WORKER_DIR to computed_settings.
mypy_django_plugin can only access settings from zproject.settings. Signed-off-by: Zixuan James Li <p359101898@gmail.com>
This commit is contained in:
committed by
Tim Abbott
parent
f994ba30b8
commit
b0ffe45835
@@ -111,6 +111,8 @@ RUNNING_OPENAPI_CURL_TEST = False
|
|||||||
GENERATE_STRIPE_FIXTURES = False
|
GENERATE_STRIPE_FIXTURES = False
|
||||||
# This is overridden in test_settings.py for the test suites
|
# This is overridden in test_settings.py for the test suites
|
||||||
BAN_CONSOLE_OUTPUT = False
|
BAN_CONSOLE_OUTPUT = False
|
||||||
|
# This is overridden in test_settings.py for the test suites
|
||||||
|
TEST_WORKER_DIR = ""
|
||||||
|
|
||||||
# These are the settings that we will check that the user has filled in for
|
# These are the settings that we will check that the user has filled in for
|
||||||
# production deployments before starting the app. It consists of a series
|
# production deployments before starting the app. It consists of a series
|
||||||
|
|||||||
@@ -146,8 +146,7 @@ if not PUPPETEER_TESTS:
|
|||||||
# Enable file:/// hyperlink support by default in tests
|
# Enable file:/// hyperlink support by default in tests
|
||||||
ENABLE_FILE_LINKS = True
|
ENABLE_FILE_LINKS = True
|
||||||
|
|
||||||
# These settings are set dynamically in `zerver/lib/test_runner.py`:
|
# This is set dynamically in `zerver/lib/test_runner.py`.
|
||||||
TEST_WORKER_DIR = ""
|
|
||||||
# Allow setting LOCAL_UPLOADS_DIR in the environment so that the
|
# Allow setting LOCAL_UPLOADS_DIR in the environment so that the
|
||||||
# frontend/API tests in test_server.py can control this.
|
# frontend/API tests in test_server.py can control this.
|
||||||
if "LOCAL_UPLOADS_DIR" in os.environ:
|
if "LOCAL_UPLOADS_DIR" in os.environ:
|
||||||
|
|||||||
Reference in New Issue
Block a user