diff --git a/sh/tests/hello_python_test.py b/sh/tests/hello_python_test.py deleted file mode 100644 index 543425de..00000000 --- a/sh/tests/hello_python_test.py +++ /dev/null @@ -1,8 +0,0 @@ -import sys - -sys.path.append('/jail/app/student') - -from hello_python import say_hello_python - -def test_say_hello_python(): - assert say_hello_python() == "Hello Python!" diff --git a/sh/tests/solutions/hello_python.py b/sh/tests/solutions/hello_python.py deleted file mode 100644 index 1c09a209..00000000 --- a/sh/tests/solutions/hello_python.py +++ /dev/null @@ -1,2 +0,0 @@ -def say_hello_python(): - return "Hello Python!" \ No newline at end of file diff --git a/subjects/devops/hello_python/README.md b/subjects/devops/hello_python/README.md index 61919105..fcc66175 100644 --- a/subjects/devops/hello_python/README.md +++ b/subjects/devops/hello_python/README.md @@ -50,10 +50,10 @@ $ - Python uses indentation to indicate in which block your code will run (many other languages uses parenthesis instead). It is then very important to indent your code properly. - `return` is a special world used to say which value a function should return (a function could also not return anything). -For example `return 10` will return the number ten. + For example `return 10` will return the number ten. - A string is a set of characters wrapped by `"`. -For example `"Ciao bella"` is a string containing the worlds `Ciao Bella`. + For example `"Ciao bella"` is a string containing the worlds `Ciao Bella`. - In `test.py` we are calling another function named `print`. This function is already present in Python standard library so we don't have to create it. This function at its core is made to write strings in the standard output.