Initial commit
This commit is contained in:
9
tests/test_cli_main.py
Normal file
9
tests/test_cli_main.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import pytest
|
||||
from cli import cli
|
||||
|
||||
|
||||
def test_cli_main(capsys):
|
||||
output = "Hello\n"
|
||||
cli.main()
|
||||
captured = capsys.readouterr()
|
||||
assert captured.out == output
|
Reference in New Issue
Block a user