From 9e3888c736e41f46b9cec3282c350471b2e0fb7a Mon Sep 17 00:00:00 2001 From: shermangriffiths Date: Tue, 24 Sep 2024 14:52:31 -0500 Subject: [PATCH] Update tests --- tests/test_end_to_end.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/test_end_to_end.py b/tests/test_end_to_end.py index 09bf5ef3..171d61e6 100644 --- a/tests/test_end_to_end.py +++ b/tests/test_end_to_end.py @@ -273,10 +273,16 @@ def test_all_blocks_page_to_markdown(tmpdir): # TODO: Add assertions about audio blocks and video blocks # the word "caption" is bolded - assert "![Image **caption**](media/All_Blocks_Test_Page-5f1b0813453.jpeg)" in lines + assert ( + "![Image" + " **caption**](media/All_Blocks_Test_Page-5f1b0813453c4e56969ba81443163dd3.jpeg)" + in lines + ) # from a file block in the Notion page - assert os.path.exists(tmpdir / "media" / "All_Blocks_Test_Page-5f1b0813453.jpeg") + assert os.path.exists( + tmpdir / "media" / "All_Blocks_Test_Page-5f1b0813453c4e56969ba81443163dd3.jpeg" + ) def test_page_in_database_to_markdown(tmpdir):