Esempio n. 1
0
 def setUp(self):
     from learning_journal_basic import main
     app = main({})
     from webtest import TestApp
     self.testapp = TestApp(app)
Esempio n. 2
0
def test_app():
    from webtest import TestApp
    from learning_journal_basic import main
    app = main({})
    return TestApp(app)
def testapp():
    """Test App fixture."""
    from webtest import TestApp
    from learning_journal_basic import main
    app = main({})
    return TestApp(app)
Esempio n. 4
0
def testapp():
    """Create an instance of our app for testing."""
    from webtest import TestApp
    from learning_journal_basic import main
    app = main({})
    return TestApp(app)