bzr branch
http://gegoxaren.bato24.eu/bzr/loggerhead/trunk
1 2 3 4 5 6 7 8 9 10 11 12 13 |
from configobj import ConfigObj import cherrypy from turbogears import testutil from loggerhead.controllers import Root def test_simple(): config = ConfigObj() r = Root(config) cherrypy.root = r testutil.create_request('/') assert 'loggerhead branches' in cherrypy.response.body[0] |