Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad NameLoad Index Str Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str ListLoad ListLoad NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str ListLoad ListLoad Str Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str ListLoad ListLoad Str Num Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str ListLoad ListLoad Str Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str ListLoad ListLoad Str Num Num decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Str Str Str Str Str Str Str ListLoad ListLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Str decorator_list decorator_list
N/A N/A json django.contrib.auth.models User django.test TestCase restlib2.http codes base TransactionBaseTestCase PreviewResourceProcessorTestCase N/A TransactionBaseTestCase N/A test_no_processor N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /api/data/preview/ HTTP_ACCEPT application/json N/A N/A N/A self assertEqual N/A response status_code N/A codes ok N/A content N/A N/A json loads N/A response content N/A N/A N/A self assertEqual N/A len N/A content N/A items 6 N/A response N/A N/A N/A self client get /api/data/preview/?processor=INVALID HTTP_ACCEPT application/json N/A N/A N/A self assertEqual N/A response status_code N/A codes ok N/A content N/A N/A json loads N/A response content N/A N/A N/A self assertEqual N/A len N/A content N/A items 6 N/A response N/A N/A N/A self client get /api/data/preview/?processor=manager HTTP_ACCEPT application/json N/A N/A N/A self assertEqual N/A response status_code N/A codes ok N/A content N/A N/A json loads N/A response content N/A N/A N/A self assertEqual N/A len N/A content N/A items 1 N/A N/A PreviewResourceTestCase N/A TestCase N/A test_delete N/A N/A self N/A N/A N/A N/A N/A N/A self client get /api/data/preview/ N/A response N/A N/A N/A self client delete /api/data/preview/ N/A N/A N/A self assertEqual N/A response status_code N/A codes ok N/A N/A N/A self assertTrue N/A canceled N/A N/A json loads N/A response content N/A test_get N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /api/data/preview/ HTTP_ACCEPT application/json N/A N/A N/A self assertEqual N/A response status_code N/A codes ok N/A N/A N/A self assertEqual N/A response N/A Content-Type application/json N/A N/A N/A self assertEqual N/A N/A json loads N/A response content N/A item_name items keys limit item_name_plural page employee N/A N/A None employees None N/A test_get_invalid N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /api/data/preview/0/ HTTP_ACCEPT application/json N/A N/A N/A self assertEqual N/A response status_code N/A codes not_found N/A test_get_page N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /api/data/preview/7/ HTTP_ACCEPT application/json N/A N/A N/A self assertEqual N/A response status_code N/A codes ok N/A N/A N/A self assertEqual N/A response N/A Content-Type application/json N/A N/A N/A self assertEqual N/A N/A json loads N/A response content N/A item_name items keys item_name_plural limit page employee N/A N/A employees 20 7 N/A test_get_page_range_equal N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /api/data/preview/3...3/ HTTP_ACCEPT application/json N/A N/A N/A self assertEqual N/A response status_code N/A codes ok N/A N/A N/A self assertEqual N/A response N/A Content-Type application/json N/A N/A N/A self assertEqual N/A N/A json loads N/A response content N/A item_name items keys item_name_plural limit page employee N/A N/A employees 20 3 N/A N/A N/A self assertEqual N/A response N/A Link <http://testserver/api/data/preview/?limit=20&page=2>; rel="prev", <http://testserver/api/data/preview/?limit=20&page=3>; rel="self", <http://testserver/api/data/preview/>; rel="base", <http://testserver/api/data/preview/?limit=20&page=4>; rel="next", <http://testserver/api/data/preview/?limit=20&page=1>; rel="first" N/A test_get_page_range N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /api/data/preview/1...5/ HTTP_ACCEPT application/json N/A N/A N/A self assertEqual N/A response status_code N/A codes ok N/A N/A N/A self assertEqual N/A response N/A Content-Type application/json N/A N/A N/A self assertEqual N/A N/A json loads N/A response content N/A item_name items keys item_name_plural limit page employee N/A N/A employees 100 1 N/A test_get_limit N/A N/A self N/A N/A N/A response N/A N/A N/A self client get /api/data/preview/1/?limit=1000 HTTP_ACCEPT application/json N/A N/A N/A self assertEqual N/A response status_code N/A codes ok N/A N/A N/A self assertEqual N/A response N/A Content-Type application/json N/A N/A N/A self assertEqual N/A N/A json loads N/A response content N/A item_name items keys item_name_plural limit page employee N/A N/A employees 1000 1 N/A test_get_with_user N/A N/A self N/A N/A N/A N/A self user N/A N/A N/A User objects create_user username test password test N/A N/A N/A N/A self client login username test password test N/A response N/A N/A N/A self client get /api/data/preview/ HTTP_ACCEPT application/json N/A N/A N/A self assertEqual N/A response status_code N/A codes ok N/A N/A N/A self assertEqual N/A response N/A Content-Type application/json N/A N/A N/A self assertEqual N/A N/A json loads N/A response content N/A item_name items keys limit item_name_plural page employee N/A N/A None employees None N/A N/A N/A self assertEqual N/A response N/A Link <http://testserver/api/data/preview/>; rel="self" N/A N/A