Skip to content

Commit 7c3b320

Browse files
authored
Merge pull request #2 from NCAR/hua-work-template
remove indent
2 parents 2ad6fe6 + ecb8180 commit 7c3b320

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/rda_python_template/hello_world.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ def main():
66
str = get_string('Hua')
77
print(str)
88

9-
def get_string(name):
10-
return name + ": Hello World!"
9+
def get_string(name):
10+
return name + ": Hello World!"
11+
1112
#
1213
# call main() to start program
1314
#

tests/test_hello_world.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# test_hello_world.py
22

33
import pytest
4-
from rda_python_template.hello_world import get_string
4+
from src.rda_python_template.hello_world import get_string
55

66
def test_get_string():
77
assert get_string('Bob') == 'Bob: Hello World!'

0 commit comments

Comments
 (0)