~netlandish/django-wiki

509017dcd19082781123f385242e6be7b8b90024 — Mathias Rav 6 years ago aed3ef2
Fix test
1 files changed, 3 insertions(+), 3 deletions(-)

M tests/plugins/images/test_markdown.py
M tests/plugins/images/test_markdown.py => tests/plugins/images/test_markdown.py +3 -3
@@ 18,9 18,9 @@ class ImageMarkdownTests(RequireRootArticleMixin, TestBase):
        self.assertNotIn("[image:1 align:left]", md_text)
        md_text = md.convert("image: [image:1 align:left]\nadasd")
        self.assertIn("<figure", md_text)
        md_text = md.convert("image: [image:1 align:right medium]\nadasd")
        self.assertIn("<img src", md_text)
        md_text = md.convert("image: [image:123 align:left medium]\nadasd")
        md_text = md.convert("image: [image:1 align:right size:medium]\nadasd")
        self.assertIn("<figure", md_text)
        md_text = md.convert("image: [image:123 align:left size:medium]\nadasd")
        self.assertIn("Image not found", md_text)

    def test_escape(self):