Module Expr Str Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Assert CompareIn Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assert CompareIn Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Assert CompareIn Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str BinOpAdd SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Str Assert CompareIn Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call NameLoad keyword Str keyword Str keyword NameLoad Assert CompareNotIn Str AttributeLoad NameLoad attr Assert CompareIn Str AttributeLoad NameLoad attr Assert CompareIn Str AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A N/A 
    Flaskr Tests
    ~~~~~~~~~~~~

    Tests the Flaskr application.

    :copyright: (c) 2010 by Armin Ronacher.
    :license: BSD, see LICENSE for more details.
 N/A os N/A flaskr N/A unittest FlaskrTestCase N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A Before each test, set up a blank database N/A N/A N/A N/A flaskr app config N/A ZODB_STORAGE memory:// N/A N/A N/A N/A flaskr app config N/A TESTING True N/A N/A self app N/A N/A N/A flaskr app test_client N/A login N/A N/A self username password N/A N/A N/A N/A N/A N/A self app post /login data N/A dict username username password password follow_redirects True N/A logout N/A N/A self N/A N/A N/A N/A N/A N/A self app get /logout follow_redirects True N/A test_empty_db N/A N/A self N/A N/A N/A Start with a blank database. N/A rv N/A N/A N/A self app get / N/A N/A No entries here so far N/A rv data N/A test_login_logout N/A N/A self N/A N/A N/A Make sure login and logout works N/A rv N/A N/A self login N/A N/A N/A flaskr app config N/A USERNAME N/A N/A N/A flaskr app config N/A PASSWORD N/A N/A You were logged in N/A rv data N/A rv N/A N/A self logout N/A N/A You were logged out N/A rv data N/A rv N/A N/A self login N/A N/A N/A N/A flaskr app config N/A USERNAME x N/A N/A N/A flaskr app config N/A PASSWORD N/A N/A Invalid username N/A rv data N/A rv N/A N/A self login N/A N/A N/A flaskr app config N/A USERNAME N/A N/A N/A N/A flaskr app config N/A PASSWORD x N/A N/A Invalid password N/A rv data N/A test_messages N/A N/A self N/A N/A N/A Test that messages work N/A N/A N/A self login N/A N/A N/A flaskr app config N/A USERNAME N/A N/A N/A flaskr app config N/A PASSWORD N/A rv N/A N/A N/A self app post /add data N/A dict title <Hello> text <strong>HTML</strong> allowed here follow_redirects True N/A N/A No entries here so far N/A rv data N/A N/A &lt;Hello&gt; N/A rv data N/A N/A <strong>HTML</strong> allowed here N/A rv data N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main