Module ImportFrom alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias identifier ImportFrom alias If AttributeLoad NameLoad attr body Import alias orelse If AttributeLoad NameLoad attr body Import alias identifier Assign NameStore AttributeLoad NameLoad attr ClassDef bases NameLoad body Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad 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 AttributeLoad AttributeLoad NameLoad attr attr attr ListLoad Call AttributeLoad NameLoad attr Str Str Str Str keyword Num Call AttributeLoad NameLoad attr Str Str Str Str keyword Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Slice Num body AugAssignAdd NameStore ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AugAssignAdd NameStore ListLoad AttributeLoad SubscriptLoad NameLoad Index Num attr AttributeLoad NameLoad attr AttributeLoad SubscriptLoad NameLoad Index Num attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign NameStore Str With Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num attr Num Assign AttributeStore SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list
N/A oslo_config cfg N/A six N/A unittest2 bareon.actions copyimage bareon.drivers.data nailgun bareon errors bareon objects bareon.utils artifact au bareon.utils fs fu bareon.utils hardware hu bareon.utils utils N/A N/A six PY2 N/A N/A mock N/A N/A N/A six PY3 N/A N/A unittest.mock mock N/A CONF N/A cfg CONF FakeChain N/A object N/A N/A processors N/A append N/A N/A self thing N/A N/A N/A N/A N/A N/A self processors append thing N/A process N/A N/A self N/A N/A N/A N/A N/A TestCopyImageAction N/A N/A unittest2 TestCase N/A setUp N/A N/A self N/A N/A N/A N/A N/A N/A super TestCopyImageAction self setUp N/A N/A self drv N/A N/A mock MagicMock spec N/A nailgun Nailgun N/A N/A self action N/A N/A copyimage CopyImageAction N/A self drv N/A N/A N/A N/A self drv image_scheme images N/A N/A N/A objects Image http://fake_uri /dev/mapper/os-root ext4 gzip size 1234 N/A N/A objects Image file:///fake_uri /tmp/config-drive.img iso9660 raw size 123 N/A test_do_copyimage N/A N/A self mock_lbd mock_u_ras mock_u_e mock_au_c mock_au_h mock_au_l mock_au_g mock_fu_ef mock_get_size mock_md5 mock_ibd mock_os_path N/A N/A N/A N/A mock_os_path return_value True N/A N/A mock_ibd return_value True N/A N/A mock_au_c return_value N/A FakeChain N/A N/A N/A N/A self action execute N/A imgs N/A N/A N/A self drv image_scheme images N/A N/A N/A self assertEqual 2 N/A len imgs N/A expected_processors_list N/A N/A img N/A imgs N/A -1 N/A N/A expected_processors_list N/A N/A img uri N/A au HttpUrl N/A au GunzipStream N/A img target_device N/A expected_processors_list N/A N/A N/A imgs N/A -1 uri N/A au LocalFile N/A N/A imgs N/A -1 target_device N/A N/A N/A self assertEqual expected_processors_list N/A N/A mock_au_c return_value processors N/A mock_fu_ef_expected_calls N/A N/A N/A mock call ext4 /dev/mapper/os-root N/A N/A N/A self assertEqual mock_fu_ef_expected_calls N/A mock_fu_ef call_args_list N/A N/A N/A N/A mock patch object N/A N/A copyimage os path exists N/A N/A N/A mock patch object hu is_block_device N/A N/A N/A mock patch object utils calculate_md5 N/A N/A mock patch os.path.getsize N/A N/A N/A mock patch object fu extend_fs N/A N/A N/A mock patch object au GunzipStream N/A N/A N/A mock patch object au LocalFile N/A N/A N/A mock patch object au HttpUrl N/A N/A N/A mock patch object au Chain N/A N/A N/A mock patch object utils execute N/A N/A N/A mock patch object utils render_and_save N/A N/A N/A mock patch object hu list_block_devices test_do_copyimage_target_doesnt_exist N/A N/A self mock_lbd mock_u_ras mock_u_e mock_au_c mock_au_h mock_au_l mock_au_g mock_fu_ef mock_get_size mock_md5 mock_ibd mock_os_path N/A N/A N/A N/A mock_os_path return_value False N/A N/A mock_ibd return_value True N/A N/A mock_au_c return_value N/A FakeChain N/A N/A N/A self assertRaisesRegexp N/A errors WrongDeviceError TARGET processor .* does not exist N/A N/A N/A N/A N/A self action execute N/A N/A N/A N/A mock patch object N/A N/A copyimage os path exists N/A N/A N/A mock patch object hu is_block_device N/A N/A N/A mock patch object utils calculate_md5 N/A N/A mock patch os.path.getsize N/A N/A N/A mock patch object fu extend_fs N/A N/A N/A mock patch object au GunzipStream N/A N/A N/A mock patch object au LocalFile N/A N/A N/A mock patch object au HttpUrl N/A N/A N/A mock patch object au Chain N/A N/A N/A mock patch object utils execute N/A N/A N/A mock patch object utils render_and_save N/A N/A N/A mock patch object hu list_block_devices test_do_copyimage_target_not_block_device N/A N/A self mock_lbd mock_u_ras mock_u_e mock_au_c mock_au_h mock_au_l mock_au_g mock_fu_ef mock_http_req mock_yaml mock_get_size mock_md5 mock_ibd mock_os_path N/A N/A N/A N/A mock_os_path return_value True N/A N/A mock_ibd return_value False N/A N/A mock_au_c return_value N/A FakeChain N/A msg TARGET processor .* is not a block device N/A N/A N/A self assertRaisesRegexp N/A errors WrongDeviceError msg N/A N/A N/A N/A N/A self action execute N/A N/A N/A N/A mock patch object N/A N/A copyimage os path exists N/A N/A N/A mock patch object hu is_block_device N/A N/A N/A mock patch object utils calculate_md5 N/A N/A mock patch os.path.getsize N/A N/A mock patch yaml.load N/A N/A N/A mock patch object utils init_http_request N/A N/A N/A mock patch object fu extend_fs N/A N/A N/A mock patch object au GunzipStream N/A N/A N/A mock patch object au LocalFile N/A N/A N/A mock patch object au HttpUrl N/A N/A N/A mock patch object au Chain N/A N/A N/A mock patch object utils execute N/A N/A N/A mock patch object utils render_and_save N/A N/A N/A mock patch object hu list_block_devices test_do_copyimage_md5_matches N/A N/A self mock_lbd mock_u_ras mock_u_e mock_au_c mock_au_h mock_au_l mock_au_g mock_fu_ef mock_http_req mock_yaml mock_get_size mock_md5 mock_ibd mock_os_path N/A N/A N/A N/A mock_os_path return_value True N/A N/A mock_ibd return_value True N/A N/A mock_md5 side_effect N/A really_fakemd5 N/A N/A mock_au_c return_value N/A FakeChain N/A N/A N/A N/A N/A N/A self drv image_scheme images N/A 0 md5 really_fakemd5 N/A N/A N/A self assertEqual 2 N/A len N/A N/A N/A self drv image_scheme images N/A N/A N/A N/A self action execute N/A expected_md5_calls N/A N/A N/A mock call /dev/mapper/os-root 1234 N/A N/A N/A self assertEqual expected_md5_calls N/A mock_md5 call_args_list N/A N/A N/A N/A mock patch object N/A N/A copyimage os path exists N/A N/A N/A mock patch object hu is_block_device N/A N/A N/A mock patch object utils calculate_md5 N/A N/A mock patch os.path.getsize N/A N/A mock patch yaml.load N/A N/A N/A mock patch object utils init_http_request N/A N/A N/A mock patch object fu extend_fs N/A N/A N/A mock patch object au GunzipStream N/A N/A N/A mock patch object au LocalFile N/A N/A N/A mock patch object au HttpUrl N/A N/A N/A mock patch object au Chain N/A N/A N/A mock patch object utils execute N/A N/A N/A mock patch object utils render_and_save N/A N/A N/A mock patch object hu list_block_devices test_do_copyimage_md5_mismatch N/A N/A self mock_lbd mock_u_ras mock_u_e mock_au_c mock_au_h mock_au_l mock_au_g mock_fu_ef mock_http_req mock_yaml mock_get_size mock_md5 mock_os_path mock_ibd N/A N/A N/A N/A mock_os_path return_value True N/A N/A mock_ibd return_value True N/A N/A mock_md5 side_effect N/A really_fakemd5 N/A N/A mock_au_c return_value N/A FakeChain N/A N/A N/A N/A N/A N/A self drv image_scheme images N/A 0 size 1234 N/A N/A N/A N/A N/A N/A self drv image_scheme images N/A 0 md5 fakemd5 N/A N/A N/A self assertEqual 2 N/A len N/A N/A N/A self drv image_scheme images N/A N/A N/A self assertRaises N/A errors ImageChecksumMismatchError N/A N/A self action execute N/A N/A N/A N/A mock patch object hu is_block_device N/A N/A N/A mock patch object N/A N/A copyimage os path exists N/A N/A N/A mock patch object utils calculate_md5 N/A N/A mock patch os.path.getsize N/A N/A mock patch yaml.load N/A N/A N/A mock patch object utils init_http_request N/A N/A N/A mock patch object fu extend_fs N/A N/A N/A mock patch object au GunzipStream N/A N/A N/A mock patch object au LocalFile N/A N/A N/A mock patch object au HttpUrl N/A N/A N/A mock patch object au Chain N/A N/A N/A mock patch object utils execute N/A N/A N/A mock patch object utils render_and_save N/A N/A N/A mock patch object hu list_block_devices N/A