def setUp(self): from learning_journal_basic import main app = main({}) from webtest import TestApp self.testapp = TestApp(app)
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)
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)