/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/tests/test_simple.py

a very simple passing test!

Show diffs side-by-side

added added

removed removed

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