We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 377f2b2 commit bffbcb3Copy full SHA for bffbcb3
tests/unit-tests/test_rst_math.py
@@ -5,11 +5,18 @@
5
from tests.lib.testcase import ConfluenceTestCase
6
from tests.lib.testcase import setup_builder
7
from tests.lib.testcase import setup_editor
8
+import shutil
9
+import unittest
10
11
12
class TestConfluenceRstMath(ConfluenceTestCase):
13
@classmethod
14
def setUpClass(cls):
15
+ # math images need latex to create
16
+ if not shutil.which('latex'):
17
+ msg = 'latex not installed'
18
+ raise unittest.SkipTest(msg)
19
+
20
super().setUpClass()
21
22
cls.dataset = cls.datasets / 'rst' / 'math'
0 commit comments