From 362a3f408848e3d6b78b7d8acb05e59c9c714d8d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 7 Feb 2019 10:38:03 +0530 Subject: [PATCH] Add test to ensure that all markdown extensions are present --- src/calibre/test_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/calibre/test_build.py b/src/calibre/test_build.py index 162354dd4d..47b991868b 100644 --- a/src/calibre/test_build.py +++ b/src/calibre/test_build.py @@ -270,7 +270,8 @@ class BuildTest(unittest.TestCase): def test_markdown(self): from calibre.ebooks.markdown import Markdown - Markdown(extensions=['extra']) + from calibre.ebooks.conversion.plugins.txt_input import MD_EXTENSIONS + Markdown(extensions=MD_EXTENSIONS) from calibre.library.comments import sanitize_comments_html sanitize_comments_html(b'''xxx''')