From 90a99b59cac626f3365ef9d3326f9d049a0d6930 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Fri, 3 Aug 2018 16:38:38 +0200 Subject: [PATCH] Adding some tests for captions --- tests/plugins/images/test_markdown.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tests/plugins/images/test_markdown.py b/tests/plugins/images/test_markdown.py index 0e4484f8..6198a511 100644 --- a/tests/plugins/images/test_markdown.py +++ b/tests/plugins/images/test_markdown.py @@ -18,10 +18,23 @@ class ImageMarkdownTests(RequireRootArticleMixin, TestBase): self.assertNotIn("[image:1 align:left]", md_text) md_text = md.convert("image: [image:1 align:left]\nadasd") self.assertIn("this is visual\nsecond line", md_text) def test_escape(self): md = markdown.ArticleMarkdown(article=self.root_article) -- 2.45.2