diff --git a/functions/helloworld/main_test.py b/functions/helloworld/main_test.py index bdb18682061d..cb44029dca2e 100644 --- a/functions/helloworld/main_test.py +++ b/functions/helloworld/main_test.py @@ -70,7 +70,7 @@ def test_hello_content_empty_json(app): with app.test_request_context(json=''): with pytest.raises( ValueError, - message="JSON is invalid, or missing a 'name' property"): + match="JSON is invalid, or missing a 'name' property"): main.hello_content(flask.request)