tests: Remove three references to Casper in the comments.

This commit is contained in:
Alex Vandiver 2020-09-16 14:57:11 -07:00 committed by Tim Abbott
parent 922940e223
commit 1928696829
2 changed files with 6 additions and 5 deletions

View File

@ -264,9 +264,10 @@ def update_test_databases_if_required(rebuild_test_database: bool=False) -> None
case, where the test runner code will clone directly from the case, where the test runner code will clone directly from the
template database. template database.
The `rebuild_test_database` option (used by our Casper tests) asks The `rebuild_test_database` option (used by our frontend and API
us to drop and re-cloning the zulip_test database from the tests) asks us to drop and re-cloning the zulip_test database from
template so those test suites can run with a fresh copy. the template so those test suites can run with a fresh copy.
""" """
test_template_db_status = TEST_DATABASE.template_status() test_template_db_status = TEST_DATABASE.template_status()

View File

@ -63,7 +63,7 @@ if "BAN_CONSOLE_OUTPUT" in os.environ:
BAN_CONSOLE_OUTPUT = True BAN_CONSOLE_OUTPUT = True
# Decrease the get_updates timeout to 1 second. # Decrease the get_updates timeout to 1 second.
# This allows CasperJS to proceed quickly to the next test step. # This allows frontend tests to proceed quickly to the next test step.
POLL_TIMEOUT = 1000 POLL_TIMEOUT = 1000
# Stores the messages in `django.core.mail.outbox` rather than sending them. # Stores the messages in `django.core.mail.outbox` rather than sending them.
@ -154,7 +154,7 @@ ENABLE_FILE_LINKS = True
# These settings are set dynamically in `zerver/lib/test_runner.py`: # These settings are set dynamically in `zerver/lib/test_runner.py`:
TEST_WORKER_DIR = '' 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
# Casper/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:
LOCAL_UPLOADS_DIR = os.getenv("LOCAL_UPLOADS_DIR") LOCAL_UPLOADS_DIR = os.getenv("LOCAL_UPLOADS_DIR")
# Otherwise, we use the default value from dev_settings.py # Otherwise, we use the default value from dev_settings.py