chiark / gitweb /
m.math: properly include the m.components plugin in all tests.
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 15 Sep 2024 21:49:52 +0000 (23:49 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 15 Sep 2024 22:04:47 +0000 (00:04 +0200)
So when just one is run, it doesn't fail on something silly like the
.. math-figure:: directive not existing.

plugins/m/test/test_math.py

index 4a7c447aeaa8e37aa8f8f0455b45b78c552137d0..91e3f966a0a9e63e1bea2a2b7a8e189e1cfcc798 100644 (file)
@@ -51,7 +51,7 @@ class Math(PelicanPluginTestCase):
 
     def test_code_fallback(self):
         self.run_pelican({
-            'PLUGINS': ['m.htmlsanity', 'm.math'],
+            'PLUGINS': ['m.htmlsanity', 'm.components', 'm.math'],
             'M_MATH_RENDER_AS_CODE': True
         })