def func(): return "Hello world" def test_func(): assert func() == "Hello world"