Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad NameLoad With Call AttributeLoad NameLoad attr Str Lambda arguments args defaults vararg kwarg IfExp CompareLt SubscriptLoad NameLoad Index Num Num NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr ClassDef bases body Assign NameStore Str decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd NameLoad Num keyword NameLoad With Call NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad SubscriptLoad NameLoad Slice Num Num AttributeLoad NameLoad attr Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num NameLoad Assign NameStore ListComp NameLoad comprehension NameStore SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Slice Num Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad NameLoad ListLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Slice Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Num Call AttributeLoad Call NameLoad Call NameLoad NameLoad Num attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd NameLoad Num keyword BinOpAdd NameLoad Num With Call NameLoad body Assign NameStore ListLoad For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd NameLoad Num keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Slice Num Expr Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Slice Num Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body For NameStore Call NameLoad Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd NameLoad Num keyword BinOpAdd NameLoad Num Assign NameStore ListLoad For NameStore Call NameLoad Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword BinOpAdd NameLoad Num keyword BinOpAdd NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad NameLoad NameLoad With Call NameLoad body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad Call NameLoad NameLoad NameLoad decorator_list decorator_list
N/A django.db models djangae.contrib sleuth djangae.test TestCase inconsistent_db djangae.utils get_next_available_port djangae.db.consistency ensure_instance_consistent ensure_instances_consistent AvailablePortTests N/A TestCase N/A test_get_next_available_port N/A N/A self N/A N/A N/A url 127.0.0.1 N/A port 8081 N/A N/A N/A self assertEquals 8081 N/A get_next_available_port url port N/A N/A N/A sleuth switch djangae.utils.port_is_open N/A N/A N/A N/A args kwargs N/A N/A N/A args N/A 1 8085 False True N/A N/A N/A N/A self assertEquals 8085 N/A get_next_available_port url port N/A N/A EnsureCreatedModel N/A N/A models Model N/A N/A field1 N/A N/A models IntegerField Meta N/A N/A N/A app_label djangae N/A __unicode__ N/A N/A self N/A N/A N/A N/A N/A PK: {}, field1 {} format N/A self pk N/A self field1 N/A N/A EnsureCreatedTests N/A TestCase N/A test_basic_usage N/A N/A self N/A N/A N/A i N/A xrange 5 N/A N/A N/A N/A N/A EnsureCreatedModel objects create pk N/A i 1 field1 i N/A N/A inconsistent_db N/A N/A new_instance N/A N/A N/A EnsureCreatedModel objects create pk 7 field1 3 N/A qs N/A N/A N/A EnsureCreatedModel objects all N/A N/A N/A self assertEqual 5 N/A len qs N/A N/A N/A self assertEqual 6 N/A len N/A ensure_instance_consistent qs N/A new_instance pk N/A N/A N/A self assertEqual 5 N/A len N/A ensure_instance_consistent N/A qs N/A 5 N/A new_instance pk N/A N/A N/A self assertEqual 3 N/A len N/A ensure_instance_consistent N/A qs N/A 2 5 N/A new_instance pk N/A evaled N/A x N/A x N/A ensure_instance_consistent N/A N/A qs order_by field1 N/A new_instance pk N/A N/A N/A self assertEqual new_instance N/A evaled N/A 4 N/A evaled N/A x N/A x N/A ensure_instance_consistent N/A N/A qs order_by -field1 N/A new_instance pk N/A N/A N/A self assertEqual new_instance N/A evaled N/A 1 evaled N/A evaled N/A x N/A x N/A N/A ensure_instance_consistent N/A N/A qs order_by -field1 N/A new_instance pk N/A 2 N/A N/A N/A self assertEqual new_instance N/A evaled N/A 1 evaled N/A another_instance N/A N/A N/A EnsureCreatedModel objects create pk 8 field1 3 N/A N/A N/A self assertEqual 5 N/A len qs N/A N/A N/A self assertEqual 7 N/A len N/A ensure_instances_consistent qs N/A N/A new_instance pk N/A another_instance pk N/A instance_id N/A another_instance pk N/A N/A N/A another_instance delete N/A N/A N/A self assertEqual 6 N/A len N/A ensure_instances_consistent qs N/A N/A new_instance pk instance_id N/A N/A N/A self assertTrue N/A N/A N/A N/A EnsureCreatedModel objects filter pk 7 N/A 1 N/A N/A N/A self assertEqual 6 N/A len N/A ensure_instance_consistent qs N/A new_instance pk N/A N/A N/A new_instance delete N/A N/A N/A self assertEqual 5 N/A len N/A ensure_instance_consistent qs 7 N/A new_instance N/A N/A N/A EnsureCreatedModel objects create pk 8 field1 8 N/A N/A N/A self assertEqual 1 N/A N/A N/A list N/A ensure_instance_consistent qs 8 count new_instance N/A test_add_many_instances N/A N/A self N/A N/A N/A i N/A xrange 5 N/A N/A N/A N/A N/A EnsureCreatedModel objects create pk N/A i 1 field1 N/A i 5 N/A N/A inconsistent_db N/A N/A new_instances N/A N/A i N/A xrange 3 N/A N/A instance N/A N/A N/A EnsureCreatedModel objects create pk N/A i 7 field1 i N/A N/A N/A new_instances append instance N/A new_instance_pks N/A N/A i pk N/A i new_instances N/A qs N/A N/A N/A EnsureCreatedModel objects all N/A N/A N/A self assertEqual 5 N/A len qs N/A N/A N/A self assertEqual 8 N/A len N/A ensure_instances_consistent qs new_instance_pks N/A evaled N/A x N/A x N/A ensure_instances_consistent N/A N/A qs order_by field1 new_instance_pks N/A N/A N/A self assertEqual N/A new_instances N/A 0 N/A evaled N/A 0 N/A N/A N/A self assertEqual N/A new_instances N/A 1 N/A evaled N/A 1 N/A N/A N/A self assertEqual N/A new_instances N/A 2 N/A evaled N/A 2 N/A N/A N/A self assertTrue N/A N/A N/A N/A EnsureCreatedModel objects filter pk 7 N/A 1 N/A N/A N/A self assertTrue N/A N/A N/A N/A EnsureCreatedModel objects filter pk 8 N/A 1 N/A N/A N/A self assertEqual 8 N/A len N/A ensure_instances_consistent qs new_instance_pks N/A instance new_instances N/A N/A N/A N/A instance delete N/A N/A N/A self assertEqual 5 N/A len N/A ensure_instances_consistent qs new_instance_pks N/A test_delete_many_instances N/A N/A self N/A N/A N/A i N/A xrange 5 N/A N/A N/A N/A N/A EnsureCreatedModel objects create pk N/A i 1 field1 N/A i 5 N/A instances_to_delete N/A N/A i N/A xrange 3 N/A N/A instance N/A N/A N/A EnsureCreatedModel objects create pk N/A i 7 field1 N/A i 1 N/A N/A N/A instances_to_delete append instance N/A instances_to_delete_pks N/A N/A i pk N/A i instances_to_delete N/A qs N/A N/A N/A EnsureCreatedModel objects all N/A N/A N/A self assertEqual 8 N/A len N/A ensure_instances_consistent qs instances_to_delete_pks N/A N/A inconsistent_db N/A N/A instance instances_to_delete N/A N/A N/A N/A instance delete N/A N/A N/A self assertEqual 5 N/A len N/A ensure_instances_consistent qs instances_to_delete_pks N/A N/A