예제 #1
0
 def setUp(self):
     from learning_journal_basic import main
     app = main({})
     from webtest import TestApp
     self.testapp = TestApp(app)
예제 #2
0
def test_app():
    from webtest import TestApp
    from learning_journal_basic import main
    app = main({})
    return TestApp(app)
예제 #3
0
def testapp():
    """Test App fixture."""
    from webtest import TestApp
    from learning_journal_basic import main
    app = main({})
    return TestApp(app)
예제 #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)