web/test/unittest_views_basetemplates.py
brancholdstable
changeset 8462 a14b6562082b
parent 8269 80d37fb56312
child 8544 3d049071957e
equal deleted inserted replaced
8231:1bb43e31032d 8462:a14b6562082b
    33         self.set_option('allow-email-login', 'yes')
    33         self.set_option('allow-email-login', 'yes')
    34         self.assertEqual(self._login_labels(), ['login or email', 'password'])
    34         self.assertEqual(self._login_labels(), ['login or email', 'password'])
    35         self.set_option('allow-email-login', 'no')
    35         self.set_option('allow-email-login', 'no')
    36         self.assertEqual(self._login_labels(), ['login', 'password'])
    36         self.assertEqual(self._login_labels(), ['login', 'password'])
    37 
    37 
       
    38 
       
    39 class MainNoTopTemplateTC(CubicWebTC):
       
    40 
       
    41     def test_valid_xhtml(self):
       
    42         self.view('index', template='main-no-top')
       
    43 
       
    44 
    38 if __name__ == '__main__':
    45 if __name__ == '__main__':
    39     from logilab.common.testlib import unittest_main
    46     from logilab.common.testlib import unittest_main
    40     unittest_main()
    47     unittest_main()