Module Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareGt AttributeLoad NameLoad attr TupleLoad Num body Assign NameStore NameLoad ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword ListLoad Num Num Call AttributeLoad NameLoad attr Str Str keyword NameLoad keyword Str keyword ListLoad Num Num decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr ListLoad Str Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr ListLoad Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad ListLoad TupleLoad Num Num Call NameLoad Num Num ListLoad TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr Call NameLoad Num AttributeLoad SubscriptLoad NameLoad Index Num attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword NameLoad keyword NameLoad keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad keyword Num keyword Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num Num Num Num Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str keyword NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword BinOpBitOr BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Str Str Str Num Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Str Num keyword Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Str Str Num keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Str Str Str Num Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Str Str Str Num Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Dict Str Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad decorator_list decorator_list
N/A N/A sys N/A mock oslo_config cfg oslo_utils encodeutils nova context nova exception nova test nova.tests.unit.virt.libvirt fakelibvirt nova utils nova.virt.libvirt config vconfig nova.virt.libvirt guest libvirt_guest nova.virt.libvirt host N/A N/A host libvirt fakelibvirt N/A N/A libvirt_guest libvirt fakelibvirt N/A CONF N/A cfg CONF N/A N/A N/A sys version_info N/A 3 N/A N/A long int GuestTestCase N/A N/A test NoDBTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super GuestTestCase self setUp N/A N/A N/A self useFixture N/A N/A fakelibvirt FakeLibvirtFixture N/A N/A self host N/A N/A host Host qemu:///system N/A N/A self context N/A N/A context get_admin_context N/A N/A self domain N/A N/A mock Mock spec N/A fakelibvirt virDomain N/A N/A self guest N/A N/A libvirt_guest Guest N/A self domain N/A test_repr N/A N/A self N/A N/A N/A N/A N/A N/A self domain ID return_value 99 N/A N/A N/A N/A self domain UUIDString return_value UUID N/A N/A N/A N/A self domain name return_value foo N/A N/A N/A self assertEqual <Guest 99 foo UUID> N/A repr N/A self guest N/A test_create N/A N/A self mock_define N/A N/A N/A N/A N/A N/A libvirt_guest Guest create xml N/A self host N/A N/A N/A mock_define assert_called_once_with xml N/A N/A N/A N/A mock patch object N/A fakelibvirt Connection defineXML test_create_exception N/A N/A self mock_define N/A N/A N/A N/A mock_define side_effect N/A test TestingException N/A N/A N/A self assertRaises N/A test TestingException N/A N/A libvirt_guest Guest create foo N/A self host N/A N/A N/A N/A mock patch object N/A fakelibvirt Connection defineXML test_launch N/A N/A self N/A N/A N/A N/A N/A N/A self guest launch N/A N/A N/A N/A N/A self domain createWithFlags assert_called_once_with 0 N/A test_launch_and_pause N/A N/A self N/A N/A N/A N/A N/A N/A self guest launch pause True N/A N/A N/A N/A N/A self domain createWithFlags assert_called_once_with N/A fakelibvirt VIR_DOMAIN_START_PAUSED N/A test_shutdown N/A N/A self N/A N/A N/A N/A N/A self domain shutdown N/A N/A mock MagicMock N/A N/A N/A N/A self guest shutdown N/A N/A N/A N/A N/A self domain shutdown assert_called_once_with N/A test_launch_exception N/A N/A self mock_safe_decode N/A N/A N/A N/A N/A N/A self domain createWithFlags side_effect N/A test TestingException N/A N/A mock_safe_decode return_value </xml> N/A N/A N/A self assertRaises N/A test TestingException N/A N/A self guest launch N/A N/A N/A self assertEqual 1 N/A mock_safe_decode called N/A N/A N/A N/A mock patch object encodeutils safe_decode test_enable_hairpin N/A N/A self mock_get_interfaces mock_execute N/A N/A N/A N/A mock_get_interfaces return_value N/A vnet0 vnet1 N/A N/A N/A N/A self guest enable_hairpin N/A N/A N/A mock_execute assert_has_calls N/A N/A N/A mock call tee /sys/class/net/vnet0/brport/hairpin_mode run_as_root True process_input 1 check_exit_code N/A 0 1 N/A N/A mock call tee /sys/class/net/vnet1/brport/hairpin_mode run_as_root True process_input 1 check_exit_code N/A 0 1 N/A N/A N/A N/A mock patch object utils execute N/A N/A N/A mock patch object N/A libvirt_guest Guest get_interfaces test_enable_hairpin_exception N/A N/A self mock_get_interfaces mock_execute mock_safe_decode N/A N/A N/A N/A mock_get_interfaces return_value N/A foo N/A N/A mock_execute side_effect N/A N/A test TestingException oops N/A N/A N/A self assertRaises N/A test TestingException N/A N/A self guest enable_hairpin N/A N/A N/A self assertEqual 1 N/A mock_safe_decode called N/A N/A N/A N/A mock patch object encodeutils safe_decode N/A N/A N/A mock patch object utils execute N/A N/A N/A mock patch object N/A libvirt_guest Guest get_interfaces test_get_interfaces N/A N/A self N/A N/A N/A N/A N/A N/A self domain XMLDesc return_value <domain>
  <devices>
    <interface type="network">
      <target dev="vnet0"/>
    </interface>
    <interface type="network">
      <target dev="vnet1"/>
    </interface>
  </devices>
</domain> N/A N/A N/A self assertEqual N/A vnet0 vnet1 N/A N/A N/A self guest get_interfaces N/A test_get_interfaces_exception N/A N/A self N/A N/A N/A N/A N/A N/A self domain XMLDesc return_value <bad xml> N/A N/A N/A self assertEqual N/A N/A N/A N/A self guest get_interfaces N/A test_poweroff N/A N/A self N/A N/A N/A N/A N/A N/A self guest poweroff N/A N/A N/A N/A N/A self domain destroy assert_called_once_with N/A test_resume N/A N/A self N/A N/A N/A N/A N/A N/A self guest resume N/A N/A N/A N/A N/A self domain resume assert_called_once_with N/A test_get_vcpus_info N/A N/A self N/A N/A N/A N/A N/A N/A self domain vcpus return_value N/A N/A N/A 0 1 N/A int 10290000000 2 N/A N/A True True N/A vcpus N/A list N/A N/A N/A self guest get_vcpus_info N/A N/A N/A self assertEqual 0 N/A N/A vcpus N/A 0 id N/A N/A N/A self assertEqual 2 N/A N/A vcpus N/A 0 cpu N/A N/A N/A self assertEqual 1 N/A N/A vcpus N/A 0 state N/A N/A N/A self assertEqual N/A int 10290000000 N/A N/A vcpus N/A 0 time N/A test_delete_configuration N/A N/A self N/A N/A N/A N/A N/A N/A self guest delete_configuration N/A N/A N/A N/A N/A self domain undefineFlags assert_called_once_with N/A fakelibvirt VIR_DOMAIN_UNDEFINE_MANAGED_SAVE N/A test_delete_configuration_exception N/A N/A self N/A N/A N/A N/A N/A N/A self domain undefineFlags side_effect N/A N/A fakelibvirt libvirtError oops N/A N/A N/A N/A self domain ID return_value 1 N/A N/A N/A N/A self guest delete_configuration N/A N/A N/A N/A N/A self domain undefine assert_called_once_with N/A test_attach_device N/A N/A self N/A N/A N/A conf N/A N/A mock Mock spec N/A vconfig LibvirtConfigGuestDevice N/A N/A N/A conf to_xml return_value </xml> N/A N/A N/A N/A self guest attach_device conf N/A N/A N/A N/A N/A self domain attachDeviceFlags assert_called_once_with </xml> flags 0 N/A test_attach_device_persistent N/A N/A self N/A N/A N/A conf N/A N/A mock Mock spec N/A vconfig LibvirtConfigGuestDevice N/A N/A N/A conf to_xml return_value </xml> N/A N/A N/A N/A self guest attach_device conf persistent True N/A N/A N/A N/A N/A self domain attachDeviceFlags assert_called_once_with </xml> flags N/A fakelibvirt VIR_DOMAIN_AFFECT_CONFIG N/A test_attach_device_live N/A N/A self N/A N/A N/A conf N/A N/A mock Mock spec N/A vconfig LibvirtConfigGuestDevice N/A N/A N/A conf to_xml return_value </xml> N/A N/A N/A N/A self guest attach_device conf live True N/A N/A N/A N/A N/A self domain attachDeviceFlags assert_called_once_with </xml> flags N/A fakelibvirt VIR_DOMAIN_AFFECT_LIVE N/A test_attach_device_persistent_live N/A N/A self N/A N/A N/A conf N/A N/A mock Mock spec N/A vconfig LibvirtConfigGuestDevice N/A N/A N/A conf to_xml return_value </xml> N/A N/A N/A N/A self guest attach_device conf persistent True live True N/A N/A N/A N/A N/A self domain attachDeviceFlags assert_called_once_with </xml> flags N/A N/A fakelibvirt VIR_DOMAIN_AFFECT_CONFIG N/A fakelibvirt VIR_DOMAIN_AFFECT_LIVE N/A test_detach_device N/A N/A self N/A N/A N/A conf N/A N/A mock Mock spec N/A vconfig LibvirtConfigGuestDevice N/A N/A N/A conf to_xml return_value </xml> N/A N/A N/A N/A self guest detach_device conf N/A N/A N/A N/A N/A self domain detachDeviceFlags assert_called_once_with </xml> flags 0 N/A test_detach_device_persistent N/A N/A self N/A N/A N/A conf N/A N/A mock Mock spec N/A vconfig LibvirtConfigGuestDevice N/A N/A N/A conf to_xml return_value </xml> N/A N/A N/A N/A self guest detach_device conf persistent True N/A N/A N/A N/A N/A self domain detachDeviceFlags assert_called_once_with </xml> flags N/A fakelibvirt VIR_DOMAIN_AFFECT_CONFIG N/A test_detach_device_live N/A N/A self N/A N/A N/A conf N/A N/A mock Mock spec N/A vconfig LibvirtConfigGuestDevice N/A N/A N/A conf to_xml return_value </xml> N/A N/A N/A N/A self guest detach_device conf live True N/A N/A N/A N/A N/A self domain detachDeviceFlags assert_called_once_with </xml> flags N/A fakelibvirt VIR_DOMAIN_AFFECT_LIVE N/A test_detach_device_persistent_live N/A N/A self N/A N/A N/A conf N/A N/A mock Mock spec N/A vconfig LibvirtConfigGuestDevice N/A N/A N/A conf to_xml return_value </xml> N/A N/A N/A N/A self guest detach_device conf persistent True live True N/A N/A N/A N/A N/A self domain detachDeviceFlags assert_called_once_with </xml> flags N/A N/A fakelibvirt VIR_DOMAIN_AFFECT_CONFIG N/A fakelibvirt VIR_DOMAIN_AFFECT_LIVE N/A test_detach_device_with_retry_detach_success N/A N/A self N/A N/A N/A conf N/A N/A mock Mock spec N/A vconfig LibvirtConfigGuestDevice N/A N/A N/A conf to_xml return_value </xml> N/A get_config N/A N/A mock Mock N/A N/A get_config side_effect N/A conf conf conf None N/A dev_path /dev/vdb N/A retry_detach N/A N/A N/A self guest detach_device_with_retry get_config dev_path persistent True live True inc_sleep_time 0.01 N/A N/A N/A N/A N/A self domain detachDeviceFlags assert_called_once_with </xml> flags N/A N/A fakelibvirt VIR_DOMAIN_AFFECT_CONFIG N/A fakelibvirt VIR_DOMAIN_AFFECT_LIVE N/A N/A N/A get_config assert_called_with dev_path N/A N/A N/A N/A N/A self domain detachDeviceFlags reset_mock N/A N/A retry_detach N/A N/A N/A self assertEqual 2 N/A N/A N/A self domain detachDeviceFlags call_count N/A test_detach_device_with_retry_detach_failure N/A N/A self N/A N/A N/A conf N/A N/A mock Mock spec N/A vconfig LibvirtConfigGuestDevice N/A N/A N/A conf to_xml return_value </xml> N/A get_config N/A N/A mock Mock return_value conf N/A retry_detach N/A N/A N/A self guest detach_device_with_retry get_config /dev/vdb persistent True live True inc_sleep_time 0.01 max_retry_count 3 N/A N/A N/A N/A N/A self domain detachDeviceFlags assert_called_once_with </xml> flags N/A N/A fakelibvirt VIR_DOMAIN_AFFECT_CONFIG N/A fakelibvirt VIR_DOMAIN_AFFECT_LIVE N/A N/A N/A N/A N/A self domain detachDeviceFlags reset_mock N/A N/A N/A self assertRaises N/A exception DeviceDetachFailed retry_detach N/A N/A N/A self assertEqual 4 N/A N/A N/A self domain detachDeviceFlags call_count N/A test_detach_device_with_retry_device_not_found N/A N/A self N/A N/A N/A get_config N/A N/A mock Mock return_value None N/A N/A N/A self assertRaises N/A exception DeviceNotFound N/A N/A self guest detach_device_with_retry get_config /dev/vdb persistent True live True N/A test_get_xml_desc N/A N/A self N/A N/A N/A N/A N/A N/A self guest get_xml_desc N/A N/A N/A N/A N/A self domain XMLDesc assert_called_once_with flags 0 N/A test_get_xml_desc_dump_inactive N/A N/A self N/A N/A N/A N/A N/A N/A self guest get_xml_desc dump_inactive True N/A N/A N/A N/A N/A self domain XMLDesc assert_called_once_with flags N/A fakelibvirt VIR_DOMAIN_XML_INACTIVE N/A test_get_xml_desc_dump_sensitive N/A N/A self N/A N/A N/A N/A N/A N/A self guest get_xml_desc dump_sensitive True N/A N/A N/A N/A N/A self domain XMLDesc assert_called_once_with flags N/A fakelibvirt VIR_DOMAIN_XML_SECURE N/A test_get_xml_desc_dump_inactive_dump_sensitive N/A N/A self N/A N/A N/A N/A N/A N/A self guest get_xml_desc dump_inactive True dump_sensitive True N/A N/A N/A N/A N/A self domain XMLDesc assert_called_once_with flags N/A N/A fakelibvirt VIR_DOMAIN_XML_INACTIVE N/A fakelibvirt VIR_DOMAIN_XML_SECURE N/A test_get_xml_desc_dump_migratable N/A N/A self N/A N/A N/A N/A N/A N/A self guest get_xml_desc dump_migratable True N/A N/A N/A N/A N/A self domain XMLDesc assert_called_once_with flags N/A fakelibvirt VIR_DOMAIN_XML_MIGRATABLE N/A test_has_persistent_configuration N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A N/A N/A self guest has_persistent_configuration N/A N/A N/A N/A N/A self domain isPersistent assert_called_once_with N/A test_save_memory_state N/A N/A self N/A N/A N/A N/A N/A N/A self guest save_memory_state N/A N/A N/A N/A N/A self domain managedSave assert_called_once_with 0 N/A test_get_block_device N/A N/A self N/A N/A N/A disk vda N/A gblock N/A N/A N/A self guest get_block_device disk N/A N/A N/A self assertEqual disk N/A gblock _disk N/A N/A N/A self assertEqual N/A self guest N/A gblock _guest N/A test_set_user_password N/A N/A self N/A N/A N/A N/A N/A N/A self guest set_user_password foo 123 N/A N/A N/A N/A N/A self domain setUserPassword assert_called_once_with foo 123 0 N/A test_get_devices N/A N/A self N/A N/A N/A xml 
<domain type='qemu'>
  <name>QEMUGuest1</name>
  <uuid>c7a5fdbd-edaf-9455-926a-d65c16db1809</uuid>
  <memory unit='KiB'>219136</memory>
  <currentMemory unit='KiB'>219136</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <os>
    <type arch='i686' machine='pc'>hvm</type>
    <boot dev='hd'/>
  </os>
  <clock offset='utc'/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>destroy</on_crash>
  <devices>
    <emulator>/usr/bin/qemu</emulator>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw'/>
      <source dev='/dev/HostVG/QEMUGuest2'/>
      <target dev='hda' bus='ide'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <auth username='myname'>
        <secret type='iscsi' usage='mycluster_myname'/>
      </auth>
      <source protocol='iscsi' name='iqn.1992-01.com.example'>
        <host name='example.org' port='6000'/>
      </source>
      <target dev='vda' bus='virtio'/>
    </disk>
    <disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <source protocol='iscsi' name='iqn.1992-01.com.example/1'>
        <host name='example.org' port='6000'/>
      </source>
      <target dev='vdb' bus='virtio'/>
    </disk>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <source>
        <address domain='0x0000' bus='0x06' slot='0x12' function='0x5'/>
      </source>
    </hostdev>
    <hostdev mode='subsystem' type='pci' managed='yes'>
      <source>
        <address domain='0x0000' bus='0x06' slot='0x12' function='0x6'/>
      </source>
    </hostdev>
    <interface type="bridge">
      <mac address="fa:16:3e:f9:af:ae"/>
      <model type="virtio"/>
      <driver name="qemu"/>
      <source bridge="qbr84008d03-11"/>
      <target dev="tap84008d03-11"/>
    </interface>
    <controller type='usb' index='0'/>
    <controller type='pci' index='0' model='pci-root'/>
    <memballoon model='none'/>
  </devices>
</domain>
 N/A N/A N/A N/A self domain XMLDesc return_value xml N/A devs N/A N/A N/A self guest get_all_devices N/A N/A N/A self assertEqual 6 N/A len devs N/A N/A N/A self assertIsInstance N/A devs N/A 0 N/A vconfig LibvirtConfigGuestDisk N/A N/A N/A self assertIsInstance N/A devs N/A 1 N/A vconfig LibvirtConfigGuestDisk N/A N/A N/A self assertIsInstance N/A devs N/A 2 N/A vconfig LibvirtConfigGuestDisk N/A N/A N/A self assertIsInstance N/A devs N/A 3 N/A vconfig LibvirtConfigGuestHostdev N/A N/A N/A self assertIsInstance N/A devs N/A 4 N/A vconfig LibvirtConfigGuestHostdev N/A N/A N/A self assertIsInstance N/A devs N/A 5 N/A vconfig LibvirtConfigGuestInterface N/A devs N/A N/A N/A self guest get_all_devices N/A vconfig LibvirtConfigGuestDisk N/A N/A N/A self assertEqual 3 N/A len devs N/A N/A N/A self assertIsInstance N/A devs N/A 0 N/A vconfig LibvirtConfigGuestDisk N/A N/A N/A self assertIsInstance N/A devs N/A 1 N/A vconfig LibvirtConfigGuestDisk N/A N/A N/A self assertIsInstance N/A devs N/A 2 N/A vconfig LibvirtConfigGuestDisk N/A devs N/A N/A N/A self guest get_all_disks N/A N/A N/A self assertEqual 3 N/A len devs N/A N/A N/A self assertIsInstance N/A devs N/A 0 N/A vconfig LibvirtConfigGuestDisk N/A N/A N/A self assertIsInstance N/A devs N/A 1 N/A vconfig LibvirtConfigGuestDisk N/A N/A N/A self assertIsInstance N/A devs N/A 2 N/A vconfig LibvirtConfigGuestDisk N/A devs N/A N/A N/A self guest get_all_devices N/A vconfig LibvirtConfigGuestHostdev N/A N/A N/A self assertEqual 2 N/A len devs N/A N/A N/A self assertIsInstance N/A devs N/A 0 N/A vconfig LibvirtConfigGuestHostdev N/A N/A N/A self assertIsInstance N/A devs N/A 1 N/A vconfig LibvirtConfigGuestHostdev N/A devs N/A N/A N/A self guest get_all_devices N/A vconfig LibvirtConfigGuestInterface N/A N/A N/A self assertEqual 1 N/A len devs N/A N/A N/A self assertIsInstance N/A devs N/A 0 N/A vconfig LibvirtConfigGuestInterface N/A N/A N/A self assertIsNotNone N/A N/A N/A self guest get_interface_by_mac fa:16:3e:f9:af:ae N/A N/A N/A self assertIsNone N/A N/A N/A self guest get_interface_by_mac None N/A test_get_info N/A N/A self N/A N/A N/A N/A N/A N/A self domain info return_value N/A 1 2 3 4 5 N/A N/A N/A N/A self domain ID return_value 6 N/A info N/A N/A N/A self guest get_info N/A self host N/A N/A N/A N/A N/A self domain info assert_called_once_with N/A N/A N/A self assertEqual 1 N/A info state N/A N/A N/A self assertEqual 2 N/A info max_mem_kb N/A N/A N/A self assertEqual 3 N/A info mem_kb N/A N/A N/A self assertEqual 4 N/A info num_cpu N/A N/A N/A self assertEqual 5 N/A info cpu_time_ns N/A N/A N/A self assertEqual 6 N/A info id N/A test_get_power_state N/A N/A self N/A N/A N/A N/A N/A N/A self domain info return_value N/A 1 2 3 4 5 N/A power N/A N/A N/A self guest get_power_state N/A self host N/A N/A N/A self assertEqual 1 power N/A test_is_active_when_domain_is_active N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object N/A self domain isActive return_value True N/A N/A N/A N/A self assertTrue N/A N/A N/A self guest is_active N/A test_is_active_when_domain_not_active N/A N/A self N/A N/A N/A N/A N/A N/A mock patch object N/A self domain isActive return_value False N/A N/A N/A N/A self assertFalse N/A N/A N/A self guest is_active N/A test_freeze_filesystems N/A N/A self N/A N/A N/A N/A N/A N/A self guest freeze_filesystems N/A N/A N/A N/A N/A self domain fsFreeze assert_called_once_with N/A test_thaw_filesystems N/A N/A self N/A N/A N/A N/A N/A N/A self guest thaw_filesystems N/A N/A N/A N/A N/A self domain fsThaw assert_called_once_with N/A _conf_snapshot N/A N/A self N/A N/A N/A conf N/A N/A mock Mock spec N/A vconfig LibvirtConfigGuestSnapshotDisk N/A N/A N/A conf to_xml return_value <disk/> N/A conf N/A test_snapshot N/A N/A self N/A N/A N/A conf N/A N/A self _conf_snapshot N/A N/A N/A N/A self guest snapshot conf N/A N/A N/A N/A self domain snapshotCreateXML <disk/> flags 0 N/A N/A N/A N/A conf to_xml assert_called_once_with N/A test_snapshot_no_metadata N/A N/A self N/A N/A N/A conf N/A N/A self _conf_snapshot N/A N/A N/A N/A self guest snapshot conf no_metadata True N/A N/A N/A N/A self domain snapshotCreateXML <disk/> flags N/A fakelibvirt VIR_DOMAIN_SNAPSHOT_CREATE_NO_METADATA N/A N/A N/A N/A conf to_xml assert_called_once_with N/A test_snapshot_disk_only N/A N/A self N/A N/A N/A conf N/A N/A self _conf_snapshot N/A N/A N/A N/A self guest snapshot conf disk_only True N/A N/A N/A N/A self domain snapshotCreateXML <disk/> flags N/A fakelibvirt VIR_DOMAIN_SNAPSHOT_CREATE_DISK_ONLY N/A N/A N/A N/A conf to_xml assert_called_once_with N/A test_snapshot_reuse_ext N/A N/A self N/A N/A N/A conf N/A N/A self _conf_snapshot N/A N/A N/A N/A self guest snapshot conf reuse_ext True N/A N/A N/A N/A self domain snapshotCreateXML <disk/> flags N/A fakelibvirt VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT N/A N/A N/A N/A conf to_xml assert_called_once_with N/A test_snapshot_quiesce N/A N/A self N/A N/A N/A conf N/A N/A self _conf_snapshot N/A N/A N/A N/A self guest snapshot conf quiesce True N/A N/A N/A N/A self domain snapshotCreateXML <disk/> flags N/A fakelibvirt VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE N/A N/A N/A N/A conf to_xml assert_called_once_with N/A test_snapshot_all N/A N/A self N/A N/A N/A conf N/A N/A self _conf_snapshot N/A N/A N/A N/A self guest snapshot conf no_metadata True disk_only True reuse_ext True quiesce True N/A N/A N/A N/A self domain snapshotCreateXML <disk/> flags N/A N/A N/A N/A fakelibvirt VIR_DOMAIN_SNAPSHOT_CREATE_REUSE_EXT N/A fakelibvirt VIR_DOMAIN_SNAPSHOT_CREATE_DISK_ONLY N/A fakelibvirt VIR_DOMAIN_SNAPSHOT_CREATE_NO_METADATA N/A fakelibvirt VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE N/A N/A N/A N/A conf to_xml assert_called_once_with N/A test_pause N/A N/A self N/A N/A N/A N/A N/A N/A self guest pause N/A N/A N/A N/A N/A self domain suspend assert_called_once_with N/A N/A GuestBlockTestCase N/A N/A test NoDBTestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super GuestBlockTestCase self setUp N/A N/A N/A self useFixture N/A N/A fakelibvirt FakeLibvirtFixture N/A N/A self host N/A N/A host Host qemu:///system N/A N/A self context N/A N/A context get_admin_context N/A N/A self domain N/A N/A mock Mock spec N/A fakelibvirt virDomain N/A N/A self guest N/A N/A libvirt_guest Guest N/A self domain N/A N/A self gblock N/A N/A N/A self guest get_block_device vda N/A test_abort_job N/A N/A self N/A N/A N/A N/A N/A N/A self gblock abort_job N/A N/A N/A N/A N/A self domain blockJobAbort assert_called_once_with vda flags 0 N/A test_abort_job_async N/A N/A self N/A N/A N/A N/A N/A N/A self gblock abort_job async True N/A N/A N/A N/A N/A self domain blockJobAbort assert_called_once_with vda flags N/A fakelibvirt VIR_DOMAIN_BLOCK_JOB_ABORT_ASYNC N/A test_abort_job_pivot N/A N/A self N/A N/A N/A N/A N/A N/A self gblock abort_job pivot True N/A N/A N/A N/A N/A self domain blockJobAbort assert_called_once_with vda flags N/A fakelibvirt VIR_DOMAIN_BLOCK_JOB_ABORT_PIVOT N/A test_get_job_info N/A N/A self N/A N/A N/A N/A N/A N/A self domain blockJobInfo return_value N/A type bandwidth cur end 1 18 66 100 N/A info N/A N/A N/A self gblock get_job_info N/A N/A N/A self assertEqual 1 N/A info job N/A N/A N/A self assertEqual 18 N/A info bandwidth N/A N/A N/A self assertEqual 66 N/A info cur N/A N/A N/A self assertEqual 100 N/A info end N/A N/A N/A N/A N/A self domain blockJobInfo assert_called_once_with vda flags 0 N/A test_resize N/A N/A self N/A N/A N/A N/A N/A N/A self gblock resize 10 N/A N/A N/A N/A N/A self domain blockResize assert_called_once_with vda 10 N/A test_rebase N/A N/A self N/A N/A N/A N/A N/A N/A self gblock rebase foo N/A N/A N/A N/A N/A self domain blockRebase assert_called_once_with vda foo 0 flags 0 N/A test_rebase_shallow N/A N/A self N/A N/A N/A N/A N/A N/A self gblock rebase foo shallow True N/A N/A N/A N/A N/A self domain blockRebase assert_called_once_with vda foo 0 flags N/A fakelibvirt VIR_DOMAIN_BLOCK_REBASE_SHALLOW N/A test_rebase_reuse_ext N/A N/A self N/A N/A N/A N/A N/A N/A self gblock rebase foo reuse_ext True N/A N/A N/A N/A N/A self domain blockRebase assert_called_once_with vda foo 0 flags N/A fakelibvirt VIR_DOMAIN_BLOCK_REBASE_REUSE_EXT N/A test_rebase_copy N/A N/A self N/A N/A N/A N/A N/A N/A self gblock rebase foo copy True N/A N/A N/A N/A N/A self domain blockRebase assert_called_once_with vda foo 0 flags N/A fakelibvirt VIR_DOMAIN_BLOCK_REBASE_COPY N/A test_rebase_relative N/A N/A self N/A N/A N/A N/A N/A N/A self gblock rebase foo relative True N/A N/A N/A N/A N/A self domain blockRebase assert_called_once_with vda foo 0 flags N/A fakelibvirt VIR_DOMAIN_BLOCK_REBASE_RELATIVE N/A test_commit N/A N/A self N/A N/A N/A N/A N/A N/A self gblock commit foo top N/A N/A N/A N/A N/A self domain blockCommit assert_called_once_with vda foo top 0 flags 0 N/A test_commit_relative N/A N/A self N/A N/A N/A N/A N/A N/A self gblock commit foo top relative True N/A N/A N/A N/A N/A self domain blockCommit assert_called_once_with vda foo top 0 flags N/A fakelibvirt VIR_DOMAIN_BLOCK_COMMIT_RELATIVE N/A test_wait_for_job N/A N/A self N/A N/A N/A N/A N/A N/A self domain blockJobInfo return_value N/A type bandwidth cur end 4 18 95 100 N/A in_progress N/A N/A N/A self gblock wait_for_job N/A N/A N/A self assertTrue in_progress N/A N/A N/A N/A self domain blockJobInfo return_value N/A type bandwidth cur end 4 18 100 100 N/A in_progress N/A N/A N/A self gblock wait_for_job N/A N/A N/A self assertFalse in_progress N/A N/A N/A N/A self domain blockJobInfo return_value N/A type 0 N/A in_progress N/A N/A N/A self gblock wait_for_job wait_for_job_clean True N/A N/A N/A self assertFalse in_progress N/A test_wait_for_job_arbort_on_error N/A N/A self N/A N/A N/A N/A N/A N/A self domain blockJobInfo return_value -1 N/A N/A N/A self assertRaises N/A exception NovaException N/A N/A self gblock wait_for_job abort_on_error True N/A N/A