devtools/__init__.py
branchstable
changeset 7856 51a3fb272bf3
parent 7815 2a164a9cf81c
child 7879 9aae456abab5
equal deleted inserted replaced
7855:54283a5b7afc 7856:51a3fb272bf3
   258     accordingly.
   258     accordingly.
   259 
   259 
   260     Example usage::
   260     Example usage::
   261 
   261 
   262       class MyTests(CubicWebTC):
   262       class MyTests(CubicWebTC):
   263           _config = RealDatabseConfiguration('myapp',
   263           _config = RealDatabaseConfiguration('myapp',
   264                                              sourcefile='/path/to/sources')
   264                                               sourcefile='/path/to/sources')
       
   265 
   265           def test_something(self):
   266           def test_something(self):
   266               rset = self.execute('Any X WHERE X is CWUser')
   267               rset = self.execute('Any X WHERE X is CWUser')
   267               self.view('foaf', rset)
   268               self.view('foaf', rset)
   268 
   269 
   269     """
   270     """