1
0
forked from clan/clan-core

Merge pull request 'cli' (#17) from cli into main

Reviewed-on: clan/clan-core#17
This commit is contained in:
Mic92 2023-07-21 11:51:42 +00:00
commit e74ca71d41
2 changed files with 2 additions and 3 deletions

View File

@ -65,8 +65,7 @@ let
cp -r ${src} ./src
chmod +w -R ./src
cd src
find .
${checkPython}/bin/pytest
${checkPython}/bin/python -m pytest ./tests
touch $out
'';

View File

@ -4,7 +4,7 @@ import clan_cli
import pytest
def test_no_args(capsys):
def test_no_args(capsys: pytest.CaptureFixture) -> None:
clan_cli.main()
captured = capsys.readouterr()
assert captured.out.startswith("usage:")