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.
2 parents 2ad6fe6 + ecb8180 commit 7c3b320Copy full SHA for 7c3b320
src/rda_python_template/hello_world.py
@@ -6,8 +6,9 @@ def main():
6
str = get_string('Hua')
7
print(str)
8
9
- def get_string(name):
10
- return name + ": Hello World!"
+def get_string(name):
+ return name + ": Hello World!"
11
+
12
#
13
# call main() to start program
14
tests/test_hello_world.py
@@ -1,7 +1,7 @@
1
# test_hello_world.py
2
3
import pytest
4
-from rda_python_template.hello_world import get_string
+from src.rda_python_template.hello_world import get_string
5
def test_get_string():
assert get_string('Bob') == 'Bob: Hello World!'
0 commit comments