Module ImportFrom alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Num For NameStore ListLoad Str Str Str Str body Expr Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Expr Call NameLoad Call NameLoad NameLoad Str Assign AttributeStore NameLoad attr Num Expr Call NameLoad Call NameLoad NameLoad Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Call NameLoad NameLoad Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad Call NameLoad NameLoad Str Expr Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases AttributeLoad NameLoad attr body Pass decorator_list Expr Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call NameLoad NameLoad Call AttributeLoad Call NameLoad NameLoad attr keyword Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad AttributeLoad BinOpBitOr Call AttributeLoad NameLoad attr keyword Num Call AttributeLoad NameLoad attr keyword Num attr BinOpBitOr Call NameLoad keyword Num Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad AttributeLoad BinOpBitAnd Call AttributeLoad NameLoad attr keyword Num Call AttributeLoad NameLoad attr keyword Num attr Call NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad UnaryOpInvert AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr UnaryOpInvert Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Slice Num attr SubscriptLoad Call NameLoad Slice Num decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr attr Call NameLoad decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults vararg kwarg body Return AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num Call NameLoad keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num Call NameLoad keyword Num Call NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call AttributeLoad NameLoad attr keyword Num Call NameLoad keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr keyword Num keyword Num Call NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Num Call NameLoad keyword Num keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num Call NameLoad keyword Num keyword Num Call NameLoad keyword Num keyword Num keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Num keyword Num Call NameLoad keyword Num keyword Num keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num Call NameLoad keyword Num keyword Num keyword Num Call NameLoad keyword Num keyword Num keyword Num keyword Num decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults vararg kwarg body Return AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr NameLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call AttributeLoad NameLoad attr UnaryOpInvert Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num UnaryOpInvert Call NameLoad keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num Call NameLoad keyword Num UnaryOpInvert Call NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call AttributeLoad NameLoad attr keyword Num UnaryOpInvert Call NameLoad keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr keyword Num keyword Num UnaryOpInvert Call NameLoad keyword Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Num UnaryOpInvert Call NameLoad keyword Num keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num Call NameLoad keyword Num keyword Num UnaryOpInvert Call NameLoad keyword Num keyword Num keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num keyword Num keyword Num UnaryOpInvert Call NameLoad keyword Num keyword Num keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad keyword Num Call NameLoad keyword Num keyword Num keyword Num UnaryOpInvert Call NameLoad keyword Num keyword Num keyword Num keyword Num decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults vararg body Return AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Str Call AttributeLoad Call NameLoad attr Str Expr Call NameLoad Call AttributeLoad NameLoad attr Str Str Call AttributeLoad Call NameLoad attr Str Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr keyword Num attr keyword Num attr BinOpBitAnd Call NameLoad keyword Num UnaryOpInvert Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr keyword Num attr Str attr Call AttributeLoad Call NameLoad keyword Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad SubscriptLoad Call AttributeLoad Call NameLoad NameLoad attr keyword Num Slice Num attr SubscriptLoad Call NameLoad keyword Num Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr keyword Num attr keyword Num attr BinOpBitAnd UnaryOpInvert Call NameLoad keyword Num Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr keyword Num attr Str attr UnaryOpInvert Call AttributeLoad Call NameLoad keyword Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad SubscriptLoad Call AttributeLoad Call NameLoad NameLoad attr keyword Num Slice Num attr UnaryOpInvert SubscriptLoad Call NameLoad keyword Num Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr Str attr keyword Num attr BinOpBitAnd Call AttributeLoad Call NameLoad attr Str Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad Call AttributeLoad Call NameLoad NameLoad attr Str attr keyword Num attr BinOpBitAnd Call AttributeLoad Call NameLoad attr Str UnaryOpInvert Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad SubscriptLoad Call AttributeLoad Call NameLoad NameLoad attr Str Slice Num attr SubscriptLoad Call AttributeLoad Call NameLoad attr Str Slice Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad SubscriptLoad Call NameLoad NameLoad Slice Num attr keyword Num attr BinOpBitAnd SubscriptLoad Call NameLoad Slice Num Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad SubscriptLoad Call NameLoad NameLoad Slice Num attr keyword Num attr BinOpBitAnd SubscriptLoad Call NameLoad Slice Num UnaryOpInvert Call NameLoad keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad AttributeLoad Call AttributeLoad SubscriptLoad Call NameLoad NameLoad Slice Num attr Str attr Call AttributeLoad SubscriptLoad Call NameLoad Slice Num attr Str decorator_list decorator_list ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad keyword ListLoad Num Num Num Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Num Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr keyword Num keyword Num TupleLoad ListLoad Num Num Num NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad keyword Num keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args defaults TupleLoad Call NameLoad ListLoad Dict Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad UnaryOpNot Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call NameLoad NameLoad ListLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args defaults TupleLoad Call NameLoad ListLoad Num Dict Num NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call NameLoad NameLoad ListLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Lambda arguments args defaults TupleLoad Call NameLoad ListLoad Num Num Dict Num Num NameLoad NameLoad Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call AttributeLoad NameLoad attr Num Expr Call NameLoad Call NameLoad NameLoad ListLoad NameLoad NameLoad decorator_list decorator_list
N/A nose.tools * mock Mock MagicMock patch git_orm.testcases GitTestCase git_orm models git_orm.models Q git_orm.models.queryset QuerySet X N/A N/A models Model N/A __repr__ N/A N/A self N/A N/A N/A x N/A N/A TestRepr N/A GitTestCase N/A test_repr N/A N/A self N/A N/A N/A qs N/A QuerySet X N/A N/A qs REPR_MAXLEN 2 N/A repr_ N/A [] [x] [x, x] [x, ...] N/A N/A N/A eq_ N/A repr qs repr_ N/A N/A N/A X create N/A N/A qs REPR_MAXLEN 3 N/A N/A eq_ N/A repr qs [x, x, ...] N/A N/A qs REPR_MAXLEN 4 N/A N/A eq_ N/A repr qs [x, x, x, x] N/A N/A TestEq N/A N/A test_eq N/A N/A self N/A N/A N/A qs N/A QuerySet X N/A N/A eq_ qs qs N/A N/A eq_ qs N/A QuerySet X N/A N/A eq_ qs N/A N/A qs all N/A N/A eq_ qs N/A N/A qs filter N/A N/A eq_ N/A N/A qs filter N/A N/A qs all N/A test_eq_somthing_else N/A N/A self N/A N/A N/A N/A assert_not_equal N/A QuerySet X None N/A N/A assert_not_equal N/A QuerySet X unicode-cat N/A N/A assert_not_equal N/A QuerySet X X N/A test_eq_other_model N/A N/A self N/A N/A Y N/A N/A models Model N/A N/A N/A N/A N/A assert_not_equal N/A QuerySet X N/A QuerySet Y N/A test_eq_other_query N/A N/A self N/A N/A N/A N/A assert_not_equal N/A QuerySet X N/A N/A N/A QuerySet X filter title foo N/A N/A TestOperators N/A N/A test_or N/A N/A self N/A N/A N/A qs N/A QuerySet X N/A N/A eq_ N/A N/A N/A N/A qs filter a 1 N/A N/A qs filter b 2 query N/A N/A Q a 1 N/A Q b 2 N/A test_and N/A N/A self N/A N/A N/A qs N/A QuerySet X N/A N/A eq_ N/A N/A N/A N/A qs filter a 1 N/A N/A qs filter b 2 query N/A Q a 1 b 2 N/A test_invert N/A N/A self N/A N/A N/A qs N/A QuerySet X N/A N/A eq_ N/A N/A N/A N/A qs filter a 1 query N/A N/A Q a 1 N/A test_slice N/A N/A self N/A N/A N/A qs N/A QuerySet X N/A N/A eq_ N/A N/A qs N/A 3 query N/A N/A Q N/A 3 N/A N/A TestAll N/A N/A test_all N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A QuerySet X all query N/A Q N/A N/A TestFilter N/A N/A filter N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A QuerySet X filter args kwargs query N/A test_filter N/A N/A self N/A N/A N/A N/A eq_ N/A N/A self filter N/A Q N/A test_with_args N/A N/A self N/A N/A N/A N/A eq_ N/A N/A self filter N/A Q a 1 N/A Q a 1 N/A N/A eq_ N/A N/A self filter N/A Q a 1 N/A Q b 2 N/A Q a 1 b 2 N/A test_with_kwargs N/A N/A self N/A N/A N/A N/A eq_ N/A N/A self filter a 1 N/A Q a 1 N/A N/A eq_ N/A N/A self filter a 1 b 2 N/A Q a 1 b 2 N/A test_with_args_and_kwargs N/A N/A self N/A N/A N/A N/A eq_ N/A N/A self filter N/A Q a 1 b 2 N/A Q a 1 b 2 N/A N/A eq_ N/A N/A self filter N/A Q a 1 N/A Q b 2 c 3 N/A Q a 1 b 2 c 3 N/A N/A eq_ N/A N/A self filter N/A Q a 1 b 2 c 3 N/A Q a 1 b 2 c 3 N/A N/A eq_ N/A N/A self filter N/A Q a 1 N/A Q b 2 c 3 d 4 N/A Q a 1 b 2 c 3 d 4 N/A N/A TestExclude N/A N/A exclude N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A N/A QuerySet X exclude args kwargs query N/A test_exclude N/A N/A self N/A N/A N/A N/A eq_ N/A N/A self exclude N/A N/A Q N/A test_with_args N/A N/A self N/A N/A N/A N/A eq_ N/A N/A self exclude N/A Q a 1 N/A N/A Q a 1 N/A N/A eq_ N/A N/A self exclude N/A Q a 1 N/A Q b 2 N/A N/A Q a 1 b 2 N/A test_with_kwargs N/A N/A self N/A N/A N/A N/A eq_ N/A N/A self exclude a 1 N/A N/A Q a 1 N/A N/A eq_ N/A N/A self exclude a 1 b 2 N/A N/A Q a 1 b 2 N/A test_with_args_and_kwargs N/A N/A self N/A N/A N/A N/A eq_ N/A N/A self exclude N/A Q a 1 b 2 N/A N/A Q a 1 b 2 N/A N/A eq_ N/A N/A self exclude N/A Q a 1 N/A Q b 2 c 3 N/A N/A Q a 1 b 2 c 3 N/A N/A eq_ N/A N/A self exclude N/A Q a 1 b 2 c 3 N/A N/A Q a 1 b 2 c 3 N/A N/A eq_ N/A N/A self exclude N/A Q a 1 N/A Q b 2 c 3 d 4 N/A N/A Q a 1 b 2 c 3 d 4 N/A N/A TestOrderBy N/A N/A order_by N/A N/A self N/A args N/A N/A N/A N/A N/A N/A QuerySet X order_by args query N/A test_order_by N/A N/A self N/A N/A N/A N/A eq_ N/A N/A self order_by N/A N/A N/A Q order_by N/A N/A eq_ N/A N/A self order_by a N/A N/A N/A Q order_by a N/A N/A eq_ N/A N/A self order_by a -b N/A N/A N/A Q order_by a -b N/A N/A TestChaining N/A N/A filter_exclude N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A N/A N/A QuerySet X filter a 1 exclude b 2 query N/A N/A Q a 1 N/A N/A Q b 2 N/A filter_order_by N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A N/A N/A QuerySet X filter a 1 order_by b query N/A N/A N/A Q a 1 order_by b N/A filter_slice N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A N/A QuerySet X filter a 1 N/A 3 query N/A N/A Q a 1 N/A 3 N/A exclude_filter N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A N/A N/A QuerySet X exclude a 1 filter b 2 query N/A N/A N/A Q a 1 N/A Q b 2 N/A exclude_order_by N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A N/A N/A QuerySet X exclude a 1 order_by b query N/A N/A N/A N/A Q a 1 order_by b N/A exclude_slice N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A N/A QuerySet X exclude a 1 N/A 3 query N/A N/A N/A Q a 1 N/A 3 N/A order_by_filter N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A N/A N/A QuerySet X order_by a filter b 2 query N/A N/A N/A N/A Q order_by a N/A Q b 2 N/A order_by_exclude N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A N/A N/A QuerySet X order_by a exclude b 2 query N/A N/A N/A N/A Q order_by a N/A N/A Q b 2 N/A order_by_slice N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A N/A QuerySet X order_by a N/A 3 query N/A N/A N/A N/A Q order_by a N/A 3 N/A slice_filter N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A N/A QuerySet X N/A 3 filter a 1 query N/A N/A N/A Q N/A 3 N/A Q a 1 N/A slice_exclude N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A N/A QuerySet X N/A 3 exclude a 1 query N/A N/A N/A Q N/A 3 N/A N/A Q a 1 N/A slice_order_by N/A N/A self N/A N/A N/A N/A eq_ N/A N/A N/A N/A N/A QuerySet X N/A 3 order_by a query N/A N/A N/A N/A Q N/A 3 order_by a N/A N/A TestExecute N/A N/A test_execute N/A N/A self MockCache N/A N/A N/A obj_cache N/A Mock pks N/A 1 2 3 4 N/A N/A MockCache return_value obj_cache N/A qs N/A QuerySet X N/A N/A qs query N/A MagicMock N/A N/A N/A N/A qs query __and__ return_value N/A qs query N/A N/A N/A N/A qs query execute return_value N/A 1 2 3 N/A N/A eq_ N/A N/A qs _execute a 1 b 2 N/A N/A 1 2 3 obj_cache N/A N/A N/A N/A N/A qs query __and__ assert_called_once_with N/A Q a 1 b 2 N/A N/A N/A N/A N/A qs query execute assert_called_once_with obj_cache N/A obj_cache pks N/A N/A patch git_orm.models.queryset.ObjCache test_zero N/A N/A self N/A N/A N/A qs N/A QuerySet X N/A N/A qs _execute N/A N/A N/A N/A N/A N/A iter N/A N/A N/A N/A assert_raises N/A X DoesNotExist N/A qs get N/A N/A ok_ N/A N/A N/A qs exists N/A N/A eq_ N/A N/A qs count 0 N/A N/A eq_ N/A list qs N/A N/A test_one N/A N/A self N/A N/A N/A x N/A X N/A qs N/A QuerySet X N/A N/A qs _execute N/A N/A N/A N/A N/A N/A iter N/A 0 N/A 0 x N/A N/A eq_ N/A N/A qs get x N/A N/A ok_ N/A N/A qs exists N/A N/A eq_ N/A N/A qs count 1 N/A N/A eq_ N/A list qs N/A x N/A test_two N/A N/A self N/A N/A N/A x1 N/A X N/A x2 N/A X N/A qs N/A QuerySet X N/A N/A qs _execute N/A N/A N/A N/A N/A N/A iter N/A 0 1 N/A 0 1 x1 x2 N/A N/A assert_raises N/A X MultipleObjectsReturned N/A qs get N/A N/A ok_ N/A N/A qs exists N/A N/A eq_ N/A N/A qs count 2 N/A N/A eq_ N/A list qs N/A x1 x2 N/A N/A