We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb67fde commit 546c32fCopy full SHA for 546c32f
tests/test_hello_world.py
@@ -0,0 +1,11 @@
1
+# test_hello_world.py
2
+
3
+import pytest
4
+from rda_python_template.hello_world import get_string
5
6
+def test_get_string():
7
+ assert get_string('Bob') == 'Bob: Hello World!'
8
9
+def test_raises_exception_on_non_string_arguments():
10
+ with pytest.raises(TypeError):
11
+ get_string(9)
0 commit comments