7 lines
162 B
Python
7 lines
162 B
Python
import main
|
|
|
|
def test_main_prints_message(capsys):
|
|
main.main()
|
|
captured = capsys.readouterr()
|
|
assert "Hello from python-action-test!" in captured.out
|