mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 17:17:22 +01:00
8 lines
171 B
Python
8 lines
171 B
Python
import name
|
|
|
|
|
|
def test_hello(capsys):
|
|
name.hello()
|
|
captured = capsys.readouterr()
|
|
assert captured.out == "Hello from testing!\n"
|
|
assert captured.err == ""
|