test-backend: Remove outdated reference to MarkdownTest class.

The tests and test classes have been slightly renamed over time.
This commit is contained in:
KIRTAN AGARWAL
2025-04-02 06:28:22 +05:30
committed by GitHub
parent 465971171d
commit b1d955379e
3 changed files with 7 additions and 7 deletions

View File

@@ -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

View File

@@ -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.
```

View File

@@ -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