From 037385e20d935573dcbaaf963ca7679bb7b44bb8 Mon Sep 17 00:00:00 2001 From: FBruzzesi Date: Fri, 7 Nov 2025 08:58:39 +0100 Subject: [PATCH] test: Fix unit test failure --- tests/test_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_plugin.py b/tests/test_plugin.py index dfc3aaa..4f6b859 100644 --- a/tests/test_plugin.py +++ b/tests/test_plugin.py @@ -186,7 +186,7 @@ def test_on_page_markdown_with_exception_in_code_execution(self, mock_page: Magi result = plugin.on_page_markdown(markdown, page=mock_page, config=MagicMock(), files=None) result = plugin.on_post_page(result, page=mock_page, config=MagicMock()) - assert "This cell raised an exception" in result + assert "data-mime='\"application/vnd.marimo+error\"'" in result assert "Test error" in result def test_process_marimo_file_directives(self, plugin: MarimoPlugin, tmp_path: Path) -> None: