mirror of
https://github.com/Hopiu/djLint.git
synced 2026-05-26 05:23:42 +00:00
passed test
This commit is contained in:
parent
6a9ef51d5e
commit
0dda66456c
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ run::
|
|||
|
||||
for a single test::
|
||||
|
||||
pytest tests/test_djlint.py::test_stdin --cov=src/djlint \
|
||||
pytest tests/test_djlint.py::test_help --cov=src/djlint \
|
||||
--cov-branch --cov-report xml:coverage.xml --cov-report term-missing
|
||||
|
||||
or::
|
||||
|
|
@ -33,7 +33,7 @@ from .conftest import write_to_file
|
|||
def test_help(runner: CliRunner) -> None:
|
||||
result = runner.invoke(djlint, ["-h"])
|
||||
assert result.exit_code == 0
|
||||
assert "djLint · lint and reformat HTML templates." in result.output
|
||||
assert "djLint · HTML template linter and formatter." in result.output
|
||||
|
||||
|
||||
def test_bad_args(runner: CliRunner) -> None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue