From f2dbe792514eca9a5b043054b58f1c093b27cd77 Mon Sep 17 00:00:00 2001 From: "Leah E. Cole" <6719667+leahecole@users.noreply.github.com> Date: Mon, 18 Nov 2019 13:51:50 -0800 Subject: [PATCH] Fix failing functions test (#2549) --- functions/helloworld/main_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)