Module Import alias ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ClassDef bases NameLoad body ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword TupleLoad Str Str Str Assign AttributeStore NameLoad attr NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr Index Num Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str Str Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Str attr Str Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad Slice Num Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A mock mock_django.managers ManagerMock N/A N/A unittest2 TestCase N/A N/A N/A ImportError N/A unittest TestCase Model N/A object N/A DoesNotExist N/A Exception N/A N/A N/A MultipleObjectsReturned N/A Exception N/A N/A N/A N/A make_manager N/A N/A N/A N/A N/A manager N/A N/A mock MagicMock spec N/A all filter order_by N/A N/A manager model Model N/A manager N/A ManagerMockTestCase N/A TestCase N/A test_iter N/A N/A self N/A N/A N/A manager N/A make_manager N/A inst N/A ManagerMock manager foo N/A N/A N/A self assertEquals N/A list N/A N/A inst all N/A foo N/A test_iter_exception N/A N/A self N/A N/A N/A manager N/A make_manager N/A inst N/A ManagerMock manager N/A Exception N/A N/A N/A self assertRaises Exception list N/A N/A inst all N/A test_getitem N/A N/A self N/A N/A N/A manager N/A make_manager N/A inst N/A ManagerMock manager foo N/A N/A N/A self assertEquals N/A N/A N/A inst all N/A 0 foo N/A test_returns_self N/A N/A self N/A N/A N/A manager N/A make_manager N/A inst N/A ManagerMock manager foo N/A N/A N/A self assertEquals N/A N/A inst all inst N/A test_get_on_singular_list N/A N/A self N/A N/A N/A manager N/A make_manager N/A inst N/A ManagerMock manager foo N/A N/A N/A self assertEquals N/A N/A inst get foo N/A test_get_on_multiple_objects N/A N/A self N/A N/A N/A manager N/A make_manager N/A inst N/A ManagerMock manager foo bar N/A N/A N/A inst model MultipleObjectsReturned Exception N/A N/A N/A self assertRaises N/A N/A inst model MultipleObjectsReturned N/A inst get N/A test_get_raises_doesnotexist N/A N/A self N/A N/A N/A manager N/A make_manager N/A inst N/A ManagerMock manager N/A N/A N/A inst model DoesNotExist Exception N/A N/A N/A self assertRaises N/A N/A inst model DoesNotExist N/A inst get N/A test_call_tracking N/A N/A self N/A N/A N/A manager N/A make_manager N/A inst N/A ManagerMock manager foo N/A N/A N/A N/A N/A inst filter foo bar select_related baz N/A calls N/A inst mock_calls N/A N/A N/A self assertGreater N/A len calls 1 N/A N/A N/A inst assert_chain_calls N/A N/A N/A mock call filter foo bar N/A N/A N/A inst assert_chain_calls N/A N/A N/A mock call select_related baz N/A test_getitem_get N/A N/A self N/A N/A N/A manager N/A make_manager N/A inst N/A ManagerMock manager foo N/A N/A N/A self assertEquals N/A N/A N/A inst N/A 0 1 get foo N/A test_get_raises_doesnotexist_with_queryset N/A N/A self N/A N/A N/A manager N/A make_manager N/A inst N/A ManagerMock manager N/A queryset N/A N/A N/A inst using default.slave N/A 0 1 N/A N/A N/A self assertRaises N/A N/A manager model DoesNotExist N/A queryset get N/A N/A