mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
test-backend: Remove outdated reference to MarkdownTest class.
The tests and test classes have been slightly renamed over time.
This commit is contained in:
@@ -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
|
||||
|
||||
|
@@ -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.
|
||||
```
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user