diff --git a/tests/test_hello.py b/tests/test_hello.py new file mode 100644 index 0000000..9e08af3 --- /dev/null +++ b/tests/test_hello.py @@ -0,0 +1,8 @@ +# test_hello.py +from app import app + +def test_hello(): + response = app.test_client().get('/') + + assert response.status_code == 200 + assert response.data == b'Hello, World!'