"""Test for the Hello Handler.""" import pytest from socials.logic import health_check @pytest.mark.parametrize("name", [None, "", " "]) def test_hello_without_valid_name(name): """Test saying hello without providing a name.""" assert health_check.say_hello(name).message == "Hello" def test_hello_with_name(): """Test saying hello with a name.""" assert health_check.say_hello("Jess").message == "Hello Jess!"