Module ImportFrom alias ImportFrom alias alias alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr With Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr With Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr With Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str keyword Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Str keyword Dict Str Str Str Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str keyword Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr ClassDef bases NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore Dict Str Str decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str keyword Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr With Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Str decorator_list decorator_list
N/A flask url_for flask_views.db.mongoengine.edit CreateView UpdateView DeleteView flask_views.tests.functional.db.mongoengine.base BaseMongoTestCase CreateViewTestCase N/A BaseMongoTestCase N/A N/A 
    Tests for :py:class:`.CreateView`.
     setUp N/A N/A self N/A N/A N/A N/A N/A N/A super CreateViewTestCase self setUp TestView N/A CreateView N/A N/A document_class N/A self TestDocument N/A form_class N/A self TestForm N/A template_name model_form_view.html N/A success_url http://google.com/ N/A N/A N/A N/A N/A self app add_url_rule /test/ view_func N/A N/A TestView as_view test N/A test_get N/A N/A self N/A N/A N/A 
        Test GET request.
         N/A N/A N/A self assertEqual 0 N/A N/A N/A N/A self TestDocument objects count N/A N/A N/A N/A self app test_request_context N/A N/A response N/A N/A N/A self client get N/A url_for test N/A N/A N/A self assertEqual 200 N/A response status_code N/A N/A N/A self assertIn name="username" N/A response data N/A N/A N/A self assertIn name="name" N/A response data N/A N/A N/A self assertEqual 0 N/A N/A N/A N/A self TestDocument objects count N/A test_empty_post N/A N/A self N/A N/A N/A 
        Test empty POST request.
         N/A N/A N/A self assertEqual 0 N/A N/A N/A N/A self TestDocument objects count N/A N/A N/A N/A self app test_request_context N/A N/A response N/A N/A N/A self client post N/A url_for test N/A N/A N/A self assertEqual 200 N/A response status_code N/A N/A N/A self assertIn name="username" N/A response data N/A N/A N/A self assertIn name="name" N/A response data N/A N/A N/A self assertEqual 0 N/A N/A N/A N/A self TestDocument objects count N/A test_post N/A N/A self N/A N/A N/A 
        Test POST request with valid data.
         N/A N/A N/A self assertEqual 0 N/A N/A N/A N/A self TestDocument objects count N/A N/A N/A N/A self app test_request_context N/A N/A response N/A N/A N/A self client post N/A url_for test data N/A username name foo bar N/A N/A N/A self assertEqual 302 N/A response status_code N/A N/A N/A self assertEqual http://google.com/ N/A N/A response headers N/A Location N/A N/A N/A self assertEqual 1 N/A N/A N/A N/A self TestDocument objects count N/A N/A N/A N/A N/A self TestDocument objects get username foo name bar N/A N/A UpdateViewTestCase N/A BaseMongoTestCase N/A N/A 
    Tests for :py:class:`.UpdateView`.
     setUp N/A N/A self N/A N/A N/A N/A N/A N/A super UpdateViewTestCase self setUp TestView N/A UpdateView N/A N/A document_class N/A self TestDocument N/A form_class N/A self TestForm N/A template_name model_form_view.html N/A success_url http://google.com/ N/A get_fields N/A username user N/A N/A N/A N/A N/A self app add_url_rule /<user>/ view_func N/A N/A TestView as_view test N/A test_obj N/A N/A self TestDocument username foo name bar N/A N/A N/A test_obj save N/A test_get N/A N/A self N/A N/A N/A 
        Test GET request.
         N/A N/A N/A N/A self app test_request_context N/A N/A response N/A N/A N/A self client get N/A url_for test user foo N/A N/A N/A self assertEqual 200 N/A response status_code N/A N/A N/A self assertIn value="foo" N/A response data N/A N/A N/A self assertIn value="bar" N/A response data N/A test_post N/A N/A self N/A N/A N/A 
        Test POST request with valid data.
         N/A N/A N/A N/A self app test_request_context N/A N/A response N/A N/A N/A self client post N/A url_for test user foo data N/A username name john Foo Bar N/A N/A N/A self assertEqual 302 N/A response status_code N/A N/A N/A self assertEqual http://google.com/ N/A N/A response headers N/A Location N/A N/A N/A self assertEqual 1 N/A N/A N/A N/A self TestDocument objects count N/A N/A N/A N/A N/A self TestDocument objects get username john name Foo Bar N/A N/A DeleteViewTestCase N/A BaseMongoTestCase N/A N/A 
    Tests for :py:class:`.DeleteView`.
     setUp N/A N/A self N/A N/A N/A N/A N/A N/A super DeleteViewTestCase self setUp TestView N/A DeleteView N/A N/A document_class N/A self TestDocument N/A template_name detail_template.html N/A success_url http://google.com/ N/A get_fields N/A username user N/A N/A N/A N/A N/A self app add_url_rule /<user>/ view_func N/A N/A TestView as_view test N/A N/A N/A N/A N/A self TestDocument username foo name bar save N/A N/A N/A N/A N/A self TestDocument username bar name foo save N/A test_get N/A N/A self N/A N/A N/A 
        Test GET request.
         N/A N/A N/A N/A self app test_request_context N/A N/A response N/A N/A N/A self client get N/A url_for test user foo N/A N/A N/A self assertEqual 200 N/A response status_code N/A N/A N/A self assertEqual bar N/A response data N/A test_delete N/A N/A self N/A N/A N/A 
        Test DELETE request.
         N/A N/A N/A self assertEqual 2 N/A N/A N/A N/A self TestDocument objects count N/A N/A N/A N/A self app test_request_context N/A N/A response N/A N/A N/A self client delete N/A url_for test user foo N/A N/A N/A self assertEqual 302 N/A response status_code N/A N/A N/A self assertEqual http://google.com/ N/A N/A response headers N/A Location N/A N/A N/A self assertEqual 1 N/A N/A N/A N/A self TestDocument objects count N/A N/A N/A N/A N/A self TestDocument objects get username bar N/A N/A N/A self assertRaises N/A N/A self TestDocument DoesNotExist N/A N/A N/A self TestDocument objects get username foo N/A N/A