doc/book/en/devrepo/testing.rst
branchstable
changeset 7856 51a3fb272bf3
parent 7116 dfd4680a23f0
child 8168 707466abe9cc
equal deleted inserted replaced
7855:54283a5b7afc 7856:51a3fb272bf3
   335     class BlogRealDatabaseTC(CubicWebTC):
   335     class BlogRealDatabaseTC(CubicWebTC):
   336         _config = RealDatabaseConfiguration('blog',
   336         _config = RealDatabaseConfiguration('blog',
   337                                             sourcefile='/path/to/realdb_sources')
   337                                             sourcefile='/path/to/realdb_sources')
   338 
   338 
   339         def test_blog_rss(self):
   339         def test_blog_rss(self):
   340 	    req = self.request()
   340             req = self.request()
   341 	    rset = req.execute('Any B ORDERBY D DESC WHERE B is BlogEntry, '
   341             rset = req.execute('Any B ORDERBY D DESC WHERE B is BlogEntry, '
   342 	                       'B created_by U, U login "logilab", B creation_date D')
   342                 'B created_by U, U login "logilab", B creation_date D')
   343             self.view('rss', rset)
   343             self.view('rss', rset)
   344 
       
   345 
   344 
   346 
   345 
   347 Testing with other cubes
   346 Testing with other cubes
   348 ------------------------
   347 ------------------------
   349 
   348