apply treefmt

This commit is contained in:
Jörg Thalheim
2023-07-21 14:01:56 +02:00
parent ddaf55fd08
commit 0b654c7434
3 changed files with 9 additions and 4 deletions

View File

@@ -1,10 +1,13 @@
import sys
import clan_cli
import pytest
import clan_cli
def test_no_args(capsys: pytest.CaptureFixture, monkeypatch: pytest.MonkeyPatch) -> None:
def test_no_args(
capsys: pytest.CaptureFixture, monkeypatch: pytest.MonkeyPatch
) -> None:
monkeypatch.setattr(sys, "argv", [""])
clan_cli.main()
captured = capsys.readouterr()