Module ImportFrom alias alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr CompareEq AttributeLoad NameLoad attr Num attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareGt AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareLt AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd Call NameLoad Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr CompareGtE AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpBitAnd CompareGt AttributeLoad NameLoad attr Num CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpBitOr Call NameLoad keyword Num Call NameLoad keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpBitOr CompareGt AttributeLoad NameLoad attr Num CompareEq AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Call NameLoad NameLoad decorator_list decorator_list
N/A django.db.models F Q django.test TransactionTestCase tests.common.support.models TestModel PrimaryKeyQueriesTestCase N/A TransactionTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A TestModel objects create id 1 N/A N/A N/A N/A TestModel objects create id 2 N/A N/A N/A N/A TestModel objects create id 3 N/A N/A N/A N/A TestModel objects create id 4 N/A test_can_fetch_a_record_equal_to_1 N/A N/A self N/A N/A N/A expected N/A N/A N/A TestModel objects get pk 1 N/A actual N/A N/A N/A TestModel objects get N/A N/A TestModel pk 1 N/A N/A N/A self assertEqual actual expected N/A test_pk_is_1_when_fetching_a_record_with_pk_that_is_equal_to_1 N/A N/A self N/A N/A N/A expected 1 N/A actual N/A N/A N/A N/A TestModel objects get N/A N/A TestModel pk 1 pk N/A N/A N/A self assertEqual actual expected N/A test_can_fetch_records_greater_than_1 N/A N/A self N/A N/A N/A expected N/A N/A N/A TestModel objects filter pk__gt 1 N/A actual N/A N/A N/A TestModel objects filter N/A N/A TestModel pk 1 N/A N/A N/A self assertEqual N/A list actual N/A list expected N/A test_can_fetch_records_lower_than_2 N/A N/A self N/A N/A N/A expected N/A N/A N/A TestModel objects filter pk__lt 2 N/A actual N/A N/A N/A TestModel objects filter N/A N/A TestModel pk 2 N/A N/A N/A self assertEqual N/A list actual N/A list expected N/A test_can_fetch_records_greater_or_equal_to_bar_plus_one N/A N/A self N/A N/A N/A expected N/A N/A N/A TestModel objects filter pk__gte N/A N/A F bar 1 N/A actual N/A N/A N/A TestModel objects filter N/A N/A TestModel pk N/A N/A TestModel bar 1 N/A N/A N/A self assertEqual N/A list actual N/A list expected N/A test_can_fetch_records_with_pk_greater_than_one_and_bar_equal_to_one N/A N/A self N/A N/A N/A expected N/A N/A N/A TestModel objects filter pk__gt 1 bar 1 N/A actual N/A N/A N/A TestModel objects filter N/A N/A N/A TestModel pk 1 N/A N/A TestModel bar 1 N/A N/A N/A self assertEqual N/A list actual N/A list expected N/A test_can_fetch_records_with_pk_greater_than_one_or_bar_equal_to_one N/A N/A self N/A N/A N/A expected N/A N/A N/A TestModel objects filter N/A N/A Q pk__gt 1 N/A Q bar 1 N/A actual N/A N/A N/A TestModel objects filter N/A N/A N/A TestModel pk 1 N/A N/A TestModel bar 1 N/A N/A N/A self assertEqual N/A list actual N/A list expected N/A N/A