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.

test-backend: Remove outdated reference to MarkdownTest class.

KIRTAN AGARWALb1d955379e1b
diff --git a/docs/subsystems/markdown.md b/docs/subsystems/markdown.md
index 4cd7243c6e7..7f6c5f75ac6 100644
--- a/docs/subsystems/markdown.md
+++ b/docs/subsystems/markdown.md
@@ -85,7 +85,7 @@ testcases in `markdown_test_cases.json` that you want to ignore. This
is a workaround due to lack of comments support in JSON. Revert your
"ignore" changes before committing. After this, you can run the frontend
tests with `tools/test-js-with-node markdown` and backend tests with
-`tools/test-backend zerver.tests.test_markdown.MarkdownTest.test_markdown_fixtures`.
+`tools/test-backend zerver.tests.test_markdown.MarkdownFixtureTest.test_markdown_fixtures`.
## Changing Zulip's Markdown processor
diff --git a/docs/testing/testing.md b/docs/testing/testing.md
index 0ee9fb82d8a..33835c504fe 100644
--- a/docs/testing/testing.md
+++ b/docs/testing/testing.md
@@ -33,8 +33,8 @@ typically involve running subsets of the tests with commands like these:
```bash
./tools/lint zerver/models/__init__.py # Lint the file you just changed
-./tools/test-backend zerver.tests.test_markdown.MarkdownTest.test_inline_youtube
-./tools/test-backend MarkdownTest # Run `test-backend --help` for more options
+./tools/test-backend zerver.tests.test_markdown.MarkdownEmbedsTest.test_inline_youtube
+./tools/test-backend MarkdownEmbedsTest # Run `test-backend --help` for more options
./tools/test-js-with-node util
# etc.
```
diff --git a/tools/test-backend b/tools/test-backend
index d6823b2b0fe..6c75c47b5cc 100755
--- a/tools/test-backend
+++ b/tools/test-backend
@@ -211,10 +211,10 @@ def main() -> None:
test-backend zerver.tests.test_markdown # run all tests in a test module
test-backend zerver/tests/test_markdown.py # run all tests in a test module
test-backend test_markdown # run all tests in a test module
- test-backend zerver.tests.test_markdown.MarkdownTest # run all tests in a test class
- test-backend MarkdownTest # run all tests in a test class
- test-backend zerver.tests.test_markdown.MarkdownTest.test_inline_youtube # run a single test
- test-backend MarkdownTest.test_inline_youtube # run a single test"""
+ test-backend zerver.tests.test_markdown.MarkdownEmbedsTest # run all tests in a test class
+ test-backend MarkdownEmbedsTest # run all tests in a test class
+ test-backend zerver.tests.test_markdown.MarkdownEmbedsTest.test_inline_youtube # run a single test
+ test-backend MarkdownEmbedsTest.test_inline_youtube # run a single test"""
parser = argparse.ArgumentParser(
description=usage, formatter_class=argparse.RawTextHelpFormatter