passed test

This commit is contained in:
Christopher Pickering 2021-12-01 10:36:51 +01:00
parent 6a9ef51d5e
commit 0dda66456c
No known key found for this signature in database
GPG key ID: E14DB3B0A0FACF84

View file

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