24 lines
623 B
Diff
24 lines
623 B
Diff
|
|
From 3333333333333333333333333333333333333333 Mon Sep 17 00:00:00 2001
|
||
|
|
From: Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>
|
||
|
|
Date: Wed, 24 Sep 2026 10:10:00 +0200
|
||
|
|
Subject: [PATCH 3/3] add tests
|
||
|
|
|
||
|
|
Tests for greet.
|
||
|
|
---
|
||
|
|
tests/test_hello.py | 3 +++
|
||
|
|
1 file changed, 3 insertions(+)
|
||
|
|
create mode 100644 tests/test_hello.py
|
||
|
|
|
||
|
|
diff --git a/tests/test_hello.py b/tests/test_hello.py
|
||
|
|
new file mode 100644
|
||
|
|
index 0000000..1111111
|
||
|
|
--- /dev/null
|
||
|
|
+++ b/tests/test_hello.py
|
||
|
|
@@ -0,0 +1,3 @@
|
||
|
|
+from hello import greet
|
||
|
|
+def test_greet():
|
||
|
|
+ assert greet("x") == "hello x"
|
||
|
|
|
||
|
|
base-commit: 0000000000000000000000000000000000000000
|
||
|
|
--
|
||
|
|
2.51.0
|