From: Hendrik Jäger Date: Tue, 1 Aug 2023 19:47:54 +0000 (+0200) Subject: add first tests X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=ee6c2b6a954ab534e59375d9704047b098e3a555;hp=0ff99eb77ea9e897d8705ba266550ac1dbd03c01;p=user%2Fhenk%2Fcode%2Fpython%2Flearn_python.git add first tests --- diff --git a/tests/hello/__init__.py b/tests/hello/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/hello/test_hello.py b/tests/hello/test_hello.py new file mode 100644 index 0000000..cd9cfa1 --- /dev/null +++ b/tests/hello/test_hello.py @@ -0,0 +1,5 @@ +import hello + + +def test_greet(): + assert hello.greet('world') == 'Hello world'