Module Import alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Pass decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Dict Str Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str Call NameLoad Expr Call AttributeLoad NameLoad attr Str keyword Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str keyword Str Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str keyword Str Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Str keyword Str Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Dict Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args defaults vararg body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad Call AttributeLoad NameLoad attr keyword Num attr NameLoad Return decorator_list If CompareEq NameLoad Str body Expr Call NameLoad NameLoad
N/A N/A unittest gluon current s3.s3fields s3_meta_fields S3ModelTests N/A N/A unittest TestCase N/A N/A N/A S3SuperEntityTests N/A N/A unittest TestCase N/A setUpClass N/A N/A cls N/A N/A N/A s3db N/A current s3db N/A N/A N/A s3db super_entity setest_super se_id N/A setest_master SE Test Master N/A N/A N/A s3db add_components setest_super setest_component_cascade se_id setest_component_setnull se_id setest_component_restrict se_id N/A N/A N/A s3db define_table setest_master N/A N/A s3db super_link se_id setest_super N/A s3_meta_fields N/A N/A N/A s3db configure setest_master super_entity setest_super N/A N/A N/A s3db define_table setest_component_cascade N/A N/A s3db super_link se_id setest_super ondelete CASCADE N/A s3_meta_fields N/A N/A N/A s3db define_table setest_component_setnull N/A N/A s3db super_link se_id setest_super ondelete SET NULL N/A s3_meta_fields N/A N/A N/A s3db define_table setest_component_restrict N/A N/A s3db super_link se_id setest_super ondelete RESTRICT N/A s3_meta_fields N/A N/A N/A N/A current db commit N/A classmethod tearDownClass N/A N/A cls N/A N/A N/A db N/A current db N/A N/A N/A N/A db setest_component_cascade drop N/A N/A N/A N/A db setest_component_setnull drop N/A N/A N/A N/A db setest_component_restrict drop N/A N/A N/A N/A db setest_master drop N/A N/A N/A N/A db setest_super drop N/A N/A N/A N/A current db commit N/A classmethod setUp N/A N/A self N/A N/A N/A s3db N/A current s3db N/A master_table N/A s3db setest_master N/A master_id N/A N/A master_table insert N/A N/A N/A s3db update_super master_table N/A id master_id N/A N/A self master_id master_id N/A N/A N/A current auth override True N/A tearDown N/A N/A self N/A N/A N/A N/A N/A N/A current db rollback N/A N/A N/A current auth override False N/A testDeleteSuper N/A N/A self N/A N/A N/A  Test delete_super without constraints  N/A s3db N/A current s3db N/A master_table N/A s3db setest_master N/A record N/A master_table N/A N/A self master_id N/A se_id N/A record se_id N/A success N/A N/A s3db delete_super master_table record N/A N/A N/A self assertTrue success N/A record N/A master_table N/A N/A self master_id N/A N/A N/A self assertEqual N/A record se_id None N/A super_table N/A s3db setest_super N/A super_record N/A super_table N/A se_id N/A N/A N/A self assertTrue N/A super_record deleted N/A testDeleteSuperCascade N/A N/A self N/A N/A N/A  Test delete_super with CASCADE constraint  N/A s3db N/A current s3db N/A master_table N/A s3db setest_master N/A record N/A master_table N/A N/A self master_id N/A se_id N/A record se_id N/A component_table N/A s3db setest_component_cascade N/A component_id N/A N/A component_table insert se_id se_id N/A component_record N/A component_table N/A component_id N/A N/A N/A self assertNotEqual component_record None N/A success N/A N/A s3db delete_super master_table record N/A N/A N/A self assertTrue success N/A record N/A master_table N/A N/A self master_id N/A N/A N/A self assertEqual N/A record se_id None N/A component_record N/A component_table N/A component_id N/A N/A N/A self assertTrue N/A component_record deleted N/A N/A N/A self assertEqual N/A component_record se_id None N/A super_table N/A s3db setest_super N/A super_record N/A super_table N/A se_id N/A N/A N/A self assertTrue N/A super_record deleted N/A testDeleteSuperSetNull N/A N/A self N/A N/A N/A  Test delete_super with SET NULL constraint  N/A s3db N/A current s3db N/A master_table N/A s3db setest_master N/A record N/A master_table N/A N/A self master_id N/A se_id N/A record se_id N/A component_table N/A s3db setest_component_setnull N/A component_id N/A N/A component_table insert se_id se_id N/A component_record N/A component_table N/A component_id N/A N/A N/A self assertNotEqual component_record None N/A success N/A N/A s3db delete_super master_table record N/A N/A N/A self assertTrue success N/A record N/A master_table N/A N/A self master_id N/A N/A N/A self assertEqual N/A record se_id None N/A component_record N/A component_table N/A component_id N/A N/A N/A self assertFalse N/A component_record deleted N/A N/A N/A self assertEqual N/A component_record se_id None N/A super_table N/A s3db setest_super N/A super_record N/A super_table N/A se_id N/A N/A N/A self assertTrue N/A super_record deleted N/A testDeleteSuperRestrict N/A N/A self N/A N/A N/A  Test delete_super with RESTRICT constraint  N/A s3db N/A current s3db N/A master_table N/A s3db setest_master N/A record N/A master_table N/A N/A self master_id N/A se_id N/A record se_id N/A component_table N/A s3db setest_component_restrict N/A component_id N/A N/A component_table insert se_id se_id N/A component_record N/A component_table N/A component_id N/A N/A N/A self assertNotEqual component_record None N/A success N/A N/A s3db delete_super master_table record N/A N/A N/A self assertFalse success N/A record N/A master_table N/A N/A self master_id N/A N/A N/A self assertEqual N/A record se_id se_id N/A component_record N/A component_table N/A component_id N/A N/A N/A self assertFalse N/A component_record deleted N/A N/A N/A self assertEqual N/A component_record se_id se_id N/A super_table N/A s3db setest_super N/A super_record N/A super_table N/A se_id N/A N/A N/A self assertFalse N/A super_record deleted N/A N/A run_suite N/A N/A N/A test_classes N/A N/A  Run the test suite  N/A loader N/A N/A unittest TestLoader N/A suite N/A N/A unittest TestSuite N/A test_class test_classes N/A N/A tests N/A N/A loader loadTestsFromTestCase test_class N/A N/A N/A suite addTests tests N/A N/A suite None N/A N/A N/A N/A N/A N/A unittest TextTestRunner verbosity 2 run suite N/A N/A N/A N/A __name__ __main__ N/A N/A N/A run_suite S3SuperEntityTests