import os, os.path from Products.ZWiki.testsupport import * ZopeTestCase.installProduct('ZWiki') from ReplaceInlineLatex import replaceInlineLatex IMAGEDIR = os.path.join(INSTANCE_HOME,"var","LatexWiki") def test_suite(): suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(Tests)) return suite class Tests(ZwikiTestCase): # XXX this is a functional test, we can't run it reliably in unit tests # eg it breaks depending on what user runs tests def Xtest_generate_image_from_latex(self): # image is 19 high on my system.. assume it's alright for now #m = re.match(r'a', m = re.match(r'