=========================
Example application views
=========================

We use webtest to test browser views.

    >>> from webtest import TestApp

Get the application that is normally started via the appserver.

    >>> from main import app

And create a testing app.

    >>> app = TestApp(app)


We have one view to test - the actual start page. It returns very
impressive contents :-).

    >>> res = app.get('/')
    >>> res.status
    '200 OK'
    >>> print res.body
    <html>
    <head>
    <title>lovely.gae example project</title>
    </head>
    <body>
    This is the lovely.gae example project
    </body>
    </html>

