Module ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad keyword Str keyword Str keyword Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Str keyword NameLoad Assign NameStore Call NameLoad keyword Str keyword Str keyword Str keyword NameLoad Assign NameStore Call NameLoad keyword Str keyword Str keyword Str keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Num Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Num decorator_list decorator_list
N/A django.test SimpleTestCase corehq.apps.locations.models SQLLocation LocationType corehq.apps.locations.fixtures LocationSet LocationSetTest N/A SimpleTestCase N/A test_duplicate_locations N/A N/A self N/A N/A N/A parent N/A LocationType domain test-domain name parent code parent N/A child N/A LocationType domain test-domain name child code child parent_type parent N/A location1 N/A SQLLocation id 58302461 location_id 1 name Some Parent Location location_type parent N/A location2 N/A SQLLocation id 39825 location_id 2 name Some Child Location location_type child parent location1 N/A set_locations N/A LocationSet N/A location1 location2 N/A N/A N/A self assertEqual N/A len N/A N/A set_locations by_parent N/A 1 1 N/A N/A N/A self assertEqual N/A len N/A N/A set_locations by_parent N/A 2 0 N/A N/A N/A self assertEqual N/A len N/A set_locations by_id 2 N/A N/A N/A set_locations add_location location1 N/A N/A N/A set_locations add_location location2 N/A N/A N/A self assertEqual N/A len N/A set_locations by_id 2 N/A N/A N/A self assertEqual N/A len N/A N/A set_locations by_parent N/A 1 1 N/A N/A N/A self assertEqual N/A len N/A N/A set_locations by_parent N/A 2 0 N/A N/A