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: Rename test_narrow.py to test_message_fetch.py.

Mohit Gupta308643caceb1
diff --git a/tools/ci/Dockerfile.template b/tools/ci/Dockerfile.template
index d402191690d..dc3bc7ccbb6 100644
--- a/tools/ci/Dockerfile.template
+++ b/tools/ci/Dockerfile.template
@@ -48,7 +48,7 @@ RUN apt-get update \
# Set the locale, together with the locale-related steps above.
# It's not entirely clear why, but alternatives that don't work include
# * using `C.UTF-8` instead of `en_US.UTF-8`, here and above
-# (causes mysterious failures in zerver.tests.test_narrow)
+# (causes mysterious failures in zerver.tests.test_message_fetch)
# * skipping the /etc/default/locale step above (ditto)
# * skipping this ENV instruction (causes provision to fail,
# because Python tries to use the `ascii` codec)
diff --git a/tools/linter_lib/custom_check.py b/tools/linter_lib/custom_check.py
index 2bf7b76b580..b7765eb9283 100644
--- a/tools/linter_lib/custom_check.py
+++ b/tools/linter_lib/custom_check.py
@@ -35,7 +35,7 @@ FILES_WITH_LEGACY_SUBJECT = {
# This has lots of query data embedded, so it's hard
# to fix everything until we migrate the DB to "topic".
- 'zerver/tests/test_narrow.py',
+ 'zerver/tests/test_message_fetch.py',
}
shebang_rules: List["Rule"] = [
diff --git a/zerver/tests/test_narrow.py b/zerver/tests/test_message_fetch.py
similarity index 100%
rename from zerver/tests/test_narrow.py
rename to zerver/tests/test_message_fetch.py