author | Philippe Pepiot <philippe.pepiot@logilab.fr> |
Thu, 05 Mar 2020 09:54:49 +0100 | |
branch | 3.27 |
changeset 12899 | af59ca8b23d0 |
parent 12337 | 04ff0d3ef1d3 |
permissions | -rw-r--r-- |
from cubicweb.devtools import testlib class WdocViewsTC(testlib.CubicWebTC): def test(self): with self.admin_access.web_request(fid='main') as req: page = req.view('wdoc') self.assertIn(u'Site documentation', page) # This part is renderend through rst extension (..winclude directive). self.assertIn(u'This web application is based on the CubicWeb knowledge management system', page) if __name__ == '__main__': import unittest unittest.main()