Skip to content

Commit

Permalink
add basic test
Browse files Browse the repository at this point in the history
  • Loading branch information
Man Parvesh Singh Randhawa committed Oct 13, 2024
1 parent 0c42b0f commit f94646b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_simple.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from yodapa.yoda import hello


def test_hello(capsys):
hello("Yoda")
actual_response = capsys.readouterr()
assert "Hello Yoda!\n" == actual_response.out

0 comments on commit f94646b

Please sign in to comment.