Module ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Import alias TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias Expr Str FunctionDef arguments args NameParam defaults body ImportFrom alias TryExcept body Assign NameStore AttributeLoad NameLoad attr Print SubscriptLoad NameLoad Index Str Print Print Call AttributeLoad Str attr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index Str handlers ExceptHandler type TupleLoad NameLoad NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad Call NameLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call NameLoad NameLoad NameLoad If CompareEq Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list decorator_list Return Call NameLoad keyword NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr SubscriptLoad Call NameLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Str BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Print ListComp TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str keyword TupleLoad Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad Str Str Str Str Call NameLoad SubscriptLoad NameLoad Index Str Print ListComp TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad TupleLoad Str Str Str Str Str Str Str Call NameLoad SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad ListComp AttributeLoad NameLoad attr comprehension NameStore TupleLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Call NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Str Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Print Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call NameLoad keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Call AttributeLoad NameLoad attr NameLoad Print AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Str Print AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Print Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str Expr Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Num Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Num Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Str Assign NameStore Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A flask Flask flask.ext.testing TestCase FlaskTestCase flask.ext.sqlalchemy SQLAlchemy flask.ext.snooze Snooze SqlAlchemyEndpoint sqlalchemy.orm object_mapper datetime datetime N/A re N/A N/A N/A simplejson json N/A N/A N/A ImportError N/A N/A json N/A 
Api Manager Tests
HTTP Protocol reference: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
 print_tb N/A N/A response N/A N/A traceback format_list N/A N/A N/A response N/A response json N/A N/A response N/A message N/A N/A N/A N/A join N/A format_list N/A N/A response N/A detail N/A traceback N/A N/A N/A N/A TypeError KeyError N/A N/A N/A data_model N/A N/A db N/A N/A Book N/A N/A db Model N/A N/A id N/A N/A db Column N/A db Integer primary_key True N/A created N/A N/A db Column N/A N/A db DateTime timezone False default N/A N/A datetime utcnow N/A title N/A N/A db Column N/A N/A db String 80 unique True nullable False __iter__ N/A N/A self N/A N/A N/A N/A self _i N/A iter N/A N/A object_mapper self columns N/A self N/A next N/A N/A self N/A N/A N/A n N/A N/A N/A N/A self _i next name N/A a N/A getattr self n N/A N/A N/A type a datetime N/A N/A a N/A str a N/A N/A n a N/A N/A N/A N/A dict Book Book N/A TestSnoozeHttp N/A FlaskTestCase N/A N/A 
    Ensure that the API manager exposes the correct interface.
     create_app N/A N/A self N/A N/A N/A Create a Flask app N/A N/A self app N/A Flask __name__ N/A N/A N/A N/A self app config N/A TESTING True N/A N/A self db N/A SQLAlchemy N/A self app N/A N/A self app N/A setUp N/A N/A self N/A N/A N/A N/A self Book N/A N/A data_model N/A self db N/A Book N/A N/A N/A N/A self db create_all N/A create_mgr N/A N/A self N/A N/A N/A Helper to create a context N/A N/A Snooze N/A self app N/A assert_not_4xx N/A N/A self response N/A N/A N/A code N/A response status_code N/A N/A N/A self assertFalse N/A N/A N/A str code startswith 4 N/A %d received, expecting a non-4xx code code N/A test_rule_options N/A N/A self N/A N/A N/A Test a simple OPTIONS against the root of the object API N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A N/A N/A self assert_not_4xx N/A N/A N/A self client open /book/ method OPTIONS N/A test_rule_list N/A N/A self N/A N/A N/A Test a simple GET against the root of the object API (asking for a "LIST") N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A N/A N/A N/A r rule N/A r methods N/A r endpoint N/A r N/A N/A N/A N/A self app url_map iter_rules N/A N/A N/A self assert_not_4xx N/A N/A N/A self client get /book/ N/A test_rule_post N/A N/A self N/A N/A N/A Test a simple POST against the root of the object API N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title methods N/A POST DELETE N/A N/A N/A self assert_not_4xx N/A N/A N/A self client post /book/ N/A test_rule_get N/A N/A self N/A N/A N/A Test a simple GET N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A N/A N/A self assert_404 N/A N/A N/A self client get /book/dummy N/A test_rule_head N/A N/A self N/A N/A N/A Test a simple HEAD N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A N/A N/A self assert_404 N/A N/A N/A self client head /book/dummy N/A test_rule_put N/A N/A self N/A N/A N/A Test a simple PUT N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A N/A N/A self assert_not_4xx N/A N/A N/A self client put /book/dummy N/A test_rule_patch N/A N/A self N/A N/A N/A Test a simple PATCH N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A r N/A N/A N/A self client patch /book/dummy N/A N/A N/A self assert_404 r N/A test_rule_delete N/A N/A self N/A N/A N/A Test a simple DELETE N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A N/A N/A self assert_404 N/A N/A N/A self client delete /book/dummy N/A test_verb_options N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A response N/A N/A N/A self client open /book/ method OPTIONS N/A N/A N/A self assert_200 response N/A options N/A N/A json loads N/A response data N/A N/A repr options N/A N/A N/A self assertEqual N/A set N/A OPTIONS GET HEAD POST N/A set N/A options N/A /book/ N/A N/A N/A N/A r rule N/A r methods N/A r endpoint N/A r N/A N/A N/A N/A self app url_map iter_rules N/A N/A N/A self assertEqual N/A set N/A OPTIONS GET HEAD POST PUT PATCH DELETE N/A set N/A options N/A /book/<path:path> N/A test_verb_list N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A b1 N/A N/A self Book N/A b2 N/A N/A self Book N/A b3 N/A N/A self Book N/A N/A b1 title title 1 N/A N/A b2 title title 2 N/A N/A b3 title title 3 N/A N/A N/A N/A N/A self db session add b1 N/A N/A N/A N/A N/A self db session add b2 N/A N/A N/A N/A N/A self db session add b3 N/A N/A N/A N/A N/A self db session flush N/A response N/A N/A N/A self client get /book/ N/A N/A print_tb response N/A lst N/A N/A json loads N/A response data N/A N/A N/A self assertEqual N/A set N/A N/A b id N/A b N/A b1 b2 b3 N/A set lst N/A test_verb_post N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A title test title N/A data_in N/A dict title title N/A response N/A N/A N/A self client post /book/ data N/A N/A json dumps data_in N/A N/A print_tb response N/A N/A N/A self assertStatus response 201 N/A N/A N/A self assertIn Location N/A response headers N/A book_id N/A N/A re sub .*/ N/A N/A response headers N/A Location N/A book N/A N/A N/A N/A N/A N/A self Book query filter_by id N/A int book_id first N/A N/A N/A self assertEqual title N/A book title N/A test_verb_post_location N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A title test title N/A data_in N/A dict title title N/A response N/A N/A N/A self client post /book/ data N/A N/A json dumps data_in N/A N/A N/A self assertIn Location N/A response headers N/A Location: N/A N/A response headers N/A Location N/A N/A N/A self assertEqual N/A N/A response headers N/A Location http://localhost/book/1 N/A test_verb_post_500 N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A data_in N/A dict title title N/A response N/A N/A N/A self client post /book/ data N/A N/A json dumps data_in N/A response N/A N/A N/A self client post /book/ data N/A N/A json dumps data_in N/A N/A response data N/A N/A N/A self assertEqual N/A response status 500 N/A data_out N/A N/A json loads N/A response data N/A N/A N/A self assertIn type data_out N/A N/A N/A self assertIn message data_out N/A test_verb_get N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A book N/A N/A self Book N/A N/A book title title N/A N/A N/A N/A N/A self db session add book N/A N/A N/A N/A N/A self db session flush N/A response N/A N/A N/A self client get N/A /book/%s N/A book id N/A N/A print_tb response N/A data N/A N/A json loads N/A response data N/A N/A N/A self assertEqual N/A data N/A title N/A book title N/A test_verb_get_404 N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A book N/A N/A self Book N/A N/A book title title N/A N/A N/A N/A N/A self db session add book N/A N/A N/A N/A N/A self db session flush N/A response N/A N/A N/A self client get N/A /book/%s dummy N/A N/A response data N/A N/A N/A self assert_404 response N/A data N/A N/A json loads N/A response data N/A N/A repr data N/A N/A N/A self assertIn detail data N/A N/A N/A self assertIn class N/A data N/A detail N/A N/A N/A self assertEqual N/A N/A data N/A detail N/A class Book N/A N/A N/A self assertIn path N/A data N/A detail N/A N/A N/A self assertEqual N/A N/A data N/A detail N/A path dummy N/A test_verb_head N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A book N/A N/A self Book N/A N/A book title title N/A N/A N/A N/A N/A self db session add book N/A N/A N/A N/A N/A self db session flush N/A response N/A N/A N/A self client head N/A /book/%s N/A book id N/A N/A N/A self assert_200 response N/A N/A N/A self assertEqual N/A response data N/A test_verb_head_404 N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A response N/A N/A N/A self client head N/A /book/%s dummy N/A N/A N/A self assert_404 response N/A N/A N/A self assertEqual N/A response data N/A test_verb_put_existing N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A book N/A N/A self Book N/A N/A book title title N/A N/A N/A N/A N/A self db session add book N/A N/A N/A N/A N/A self db session flush N/A book_id N/A book id N/A new_title new title N/A data_in N/A N/A json dumps N/A dict title new_title N/A response N/A N/A N/A self client put N/A /book/%s N/A book id data data_in N/A N/A N/A self assert_200 response N/A book N/A N/A N/A N/A N/A N/A self Book query filter_by id book_id first N/A N/A N/A self assertEqual N/A book title new_title N/A test_verb_put_not_existing N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A put_id 999 N/A new_title new title N/A data_in N/A N/A json dumps N/A dict title new_title N/A response N/A N/A N/A self client put N/A /book/%s put_id data data_in N/A N/A N/A self assertStatus response 201 N/A new_book_id N/A int N/A N/A re sub .*/ N/A N/A response headers N/A Location N/A book N/A N/A N/A N/A N/A N/A self Book query filter_by id put_id first N/A N/A N/A self assertEqual put_id new_book_id N/A N/A N/A self assertEqual N/A book title new_title N/A test_verb_patch_existing N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A book N/A N/A self Book N/A N/A book title title N/A N/A N/A N/A N/A self db session add book N/A N/A N/A N/A N/A self db session flush N/A book_id N/A book id N/A new_title new title N/A data_in N/A N/A json dumps N/A dict title new_title N/A response N/A N/A N/A self client patch N/A /book/%s N/A book id data data_in N/A N/A N/A self assert_200 response N/A book N/A N/A N/A N/A N/A N/A self Book query filter_by id book_id first N/A N/A N/A self assertEqual N/A book title new_title N/A test_verb_patch_not_existing N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A put_id 999 N/A new_title new title N/A data_in N/A N/A json dumps N/A dict title new_title N/A response N/A N/A N/A self client patch N/A /book/%s put_id data data_in N/A N/A N/A self assert_404 response N/A test_verb_delete_existing N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A book N/A N/A self Book N/A N/A book title title N/A N/A N/A N/A N/A self db session add book N/A N/A N/A N/A N/A self db session flush N/A book_id N/A book id N/A response N/A N/A N/A self client delete N/A /book/%s N/A book id N/A N/A print_tb response N/A N/A N/A self assert_200 response N/A book N/A N/A N/A N/A N/A N/A self Book query filter_by id book_id first N/A N/A N/A self assertIs book None N/A test_verb_delete_not_existing N/A N/A self N/A N/A N/A apimgr N/A N/A self create_mgr N/A N/A N/A apimgr add N/A SqlAlchemyEndpoint N/A self db N/A self Book N/A title N/A put_id 999 N/A response N/A N/A N/A self client delete N/A /book/%s put_id N/A N/A N/A self assert_404 response N/A N/A