Module ImportFrom alias ImportFrom alias alias ClassDef bases NameLoad body Assign NameStore ListLoad Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword Str decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd Call AttributeLoad NameLoad attr Str Str Call AttributeLoad NameLoad attr Str Str keyword ListLoad TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Str keyword Str keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assert CompareIsNot AttributeLoad NameLoad attr NameLoad Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A observertest BaseObserverToscaTest core.models Instance Site ObserverVMTest N/A BaseObserverToscaTest N/A N/A tests N/A create_vm cleanup N/A N/A self N/A N/A N/A N/A N/A self try_to_delete Instance purge False name test_compute1 N/A N/A N/A self try_to_delete Site purge False name testsite N/A N/A N/A self run_observer N/A N/A N/A self try_to_delete Site purge True name testsite N/A get_base_templates N/A N/A self N/A N/A N/A N/A N/A N/A self make_nodetemplate testsite tosca.nodes.Site N/A N/A self make_nodetemplate testsite_slice1 tosca.nodes.Slice reqs N/A N/A testsite tosca.relationships.MemberOfSite N/A create_vm N/A N/A self N/A N/A N/A N/A N/A self assert_noobj Instance test_compute1 N/A N/A N/A self execute N/A N/A N/A self get_base_templates N/A N/A self make_compute testsite_slice1 test_compute1 disk_size 1 GB mem_size 513 MB N/A instance N/A N/A self assert_obj Instance test_compute1 N/A N/A N/A N/A instance flavor name m1.small N/A N/A N/A self run_model_policy save_output /tmp/instancetest:create_vm:model_policy_first N/A N/A N/A self run_model_policy save_output /tmp/instancetest:create_vm:model_policy_second N/A N/A N/A self run_observer save_output /tmp/instancetest:create_vm:observer_first N/A instance N/A N/A self assert_obj Instance test_compute1 N/A N/A instance backend_register {} N/A N/A N/A instance save N/A N/A N/A self run_model_policy save_output /tmp/instancetest:create_vm:model_policy_third N/A N/A N/A self run_observer save_output /tmp/instancetest:create_vm:observer_second N/A instance N/A N/A self assert_obj Instance test_compute1 N/A N/A instance backend_register {} N/A N/A N/A instance save N/A N/A N/A self run_observer save_output /tmp/instancetest:create_vm:observer_third N/A instance N/A N/A self assert_obj Instance test_compute1 N/A N/A N/A instance instance_id None N/A N/A N/A instance instance_name None N/A N/A N/A N/A N/A instance ports count 2 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A ObserverVMTest