Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

tests: Remove three references to Casper in the comments.

Alex Vandiver192869682955
diff --git a/zerver/lib/test_fixtures.py b/zerver/lib/test_fixtures.py
index 88291106b6e..8550e135f37 100644
--- a/zerver/lib/test_fixtures.py
+++ b/zerver/lib/test_fixtures.py
@@ -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
template database.
- The `rebuild_test_database` option (used by our Casper tests) asks
- us to drop and re-cloning the zulip_test database from the
- template so those test suites can run with a fresh copy.
+ The `rebuild_test_database` option (used by our frontend and API
+ tests) asks us to drop and re-cloning the zulip_test database from
+ the template so those test suites can run with a fresh copy.
+
"""
test_template_db_status = TEST_DATABASE.template_status()
diff --git a/zproject/test_extra_settings.py b/zproject/test_extra_settings.py
index ff9b9862bf4..8a7fe2f09e7 100644
--- a/zproject/test_extra_settings.py
+++ b/zproject/test_extra_settings.py
@@ -63,7 +63,7 @@ if "BAN_CONSOLE_OUTPUT" in os.environ:
BAN_CONSOLE_OUTPUT = True
# 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
# 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`:
TEST_WORKER_DIR = ''
# 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:
LOCAL_UPLOADS_DIR = os.getenv("LOCAL_UPLOADS_DIR")
# Otherwise, we use the default value from dev_settings.py