equal
deleted
inserted
replaced
5 |
5 |
6 def test(self): |
6 def test(self): |
7 with self.admin_access.web_request(fid='main') as req: |
7 with self.admin_access.web_request(fid='main') as req: |
8 page = req.view('wdoc') |
8 page = req.view('wdoc') |
9 self.assertIn(u'Site documentation', page) |
9 self.assertIn(u'Site documentation', page) |
|
10 # This part is renderend through rst extension (..winclude directive). |
|
11 self.assertIn(u'This web application is based on the CubicWeb knowledge management system', |
|
12 page) |
10 |
13 |
11 |
14 |
12 if __name__ == '__main__': |
15 if __name__ == '__main__': |
13 import unittest |
16 import unittest |
14 unittest.main() |
17 unittest.main() |