summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Jäger <gitcommit@henk.geekmail.org>2023-08-01 21:47:54 +0200
committerHendrik Jäger <gitcommit@henk.geekmail.org>2023-08-01 21:47:54 +0200
commitee6c2b6a954ab534e59375d9704047b098e3a555 (patch)
tree41cdb0fe172c20a3115b22dc70a787a2a3506231
parent0ff99eb77ea9e897d8705ba266550ac1dbd03c01 (diff)
add first tests
-rw-r--r--tests/hello/__init__.py0
-rw-r--r--tests/hello/test_hello.py5
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/hello/__init__.py b/tests/hello/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tests/hello/__init__.py
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'