web/test/unittest_breadcrumbs.py
changeset 3460 e4843535db25
parent 3227 f1695b2da6c3
child 4172 4d4cef034eec
equal deleted inserted replaced
3459:e134d2dd9992 3460:e4843535db25
     1 from cubicweb.devtools.testlib import WebTest
     1 from cubicweb.devtools.testlib import CubicWebTC
     2 
     2 
     3 class BreadCrumbsTC(WebTest):
     3 class BreadCrumbsTC(CubicWebTC):
     4 
     4 
     5     def test_base(self):
     5     def test_base(self):
     6         f1 = self.add_entity('Folder', name=u'par&ent')
     6         f1 = self.add_entity('Folder', name=u'par&ent')
     7         f2 = self.add_entity('Folder', name=u'chi&ld')
     7         f2 = self.add_entity('Folder', name=u'chi&ld')
     8         self.execute('SET F2 filed_under F1 WHERE F1 eid %(f1)s, F2 eid %(f2)s',
     8         self.execute('SET F2 filed_under F1 WHERE F1 eid %(f1)s, F2 eid %(f2)s',