]> git.netwichtig.de Git - user/henk/code/python/learn_python.git/commitdiff
add first tests
authorHendrik Jäger <gitcommit@henk.geekmail.org>
Tue, 1 Aug 2023 19:47:54 +0000 (21:47 +0200)
committerHendrik Jäger <gitcommit@henk.geekmail.org>
Tue, 1 Aug 2023 19:47:54 +0000 (21:47 +0200)
tests/hello/__init__.py [new file with mode: 0644]
tests/hello/test_hello.py [new file with mode: 0644]

diff --git a/tests/hello/__init__.py b/tests/hello/__init__.py
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/tests/hello/test_hello.py b/tests/hello/test_hello.py
new file mode 100644 (file)
index 0000000..cd9cfa1
--- /dev/null
@@ -0,0 +1,5 @@
+import hello
+
+
+def test_greet():
+    assert hello.greet('world') == 'Hello world'