From efae0eda5463032d9868525525ea562a51da9661 Mon Sep 17 00:00:00 2001 From: Grieve Date: Tue, 3 Dec 2024 17:42:46 +0800 Subject: [PATCH] test: update expected --- wren-core-py/tests/test_modeling_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wren-core-py/tests/test_modeling_core.py b/wren-core-py/tests/test_modeling_core.py index 23b4bc21d..f506069e7 100644 --- a/wren-core-py/tests/test_modeling_core.py +++ b/wren-core-py/tests/test_modeling_core.py @@ -143,8 +143,8 @@ def test_get_available_functions(): [ ( None, - TypeError, - "argument 'mdl_base64': 'NoneType' object cannot be converted to 'PyString'", + Exception, + "Expected a valid base64 encoded string for the model definition, but got None.", ), ("xxx", Exception, "Base64 decode error: Invalid padding"), ("{}", Exception, "Base64 decode error: Invalid symbol 123, offset 0."),