Example #1
0
def app(db_session):
    from webtest import TestApp
    from journal import main
    app = main()
    # """ main is just a factory that builds and returns configured
    # wsgi apps """
    testapp = TestApp(app)
    testapp.set_parser_features(['html5'])
    return testapp