Skip to content

Commit f0b5df1

Browse files
authored
test: Fix unit test failure (#51)
1 parent 0a8fdd6 commit f0b5df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ def test_on_page_markdown_with_exception_in_code_execution(self, mock_page: Magi
186186
result = plugin.on_page_markdown(markdown, page=mock_page, config=MagicMock(), files=None)
187187
result = plugin.on_post_page(result, page=mock_page, config=MagicMock())
188188

189-
assert "This cell raised an exception" in result
189+
assert "data-mime='\"application/vnd.marimo+error\"'" in result
190190
assert "Test error" in result
191191

192192
def test_process_marimo_file_directives(self, plugin: MarimoPlugin, tmp_path: Path) -> None:

0 commit comments

Comments
 (0)