Module Import alias ImportFrom alias ImportFrom alias Assign NameStore Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Pass decorator_list Expr Call AttributeLoad NameLoad attr ListLoad NameLoad NameLoad NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str ListLoad Str Call AttributeLoad NameLoad attr Str ListLoad Str Call AttributeLoad NameLoad attr Str ListLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Call NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword TupleLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword ListLoad TupleLoad Str TupleLoad Str TupleLoad Str TupleLoad Str TupleLoad Str TupleLoad Str Str TupleLoad Str ListLoad TupleLoad Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr ListLoad Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr BinOpMod Str NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword Call NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword NameLoad Call AttributeLoad NameLoad attr BinOpMod Str NameLoad keyword ListLoad TupleLoad Str ListLoad TupleLoad Str decorator_list
N/A N/A mock rally.common.plugin discover tests.unit test N/A DISCOVER rally.common.plugin.discover IterSubclassesTestCase N/A N/A test TestCase N/A test_itersubclasses N/A N/A self N/A N/A A N/A object N/A N/A N/A B N/A A N/A N/A N/A C N/A A N/A N/A N/A D N/A C N/A N/A N/A N/A N/A N/A self assertEqual N/A B C D N/A list N/A N/A discover itersubclasses A N/A N/A LoadExtraModulesTestCase N/A N/A test TestCase N/A test_load_plugins_from_dir_successful N/A N/A self mock_os_walk mock_find_module mock_load_module mock_isdir N/A N/A N/A test_path /somewhere N/A N/A N/A discover load_plugins test_path N/A expected N/A N/A N/A mock call plugin1 N/A /somewhere N/A N/A mock call plugin2 N/A /somewhere/subdir N/A N/A mock call plugin3 N/A /somewhere/subdir/subsubdir N/A N/A N/A self assertEqual expected N/A mock_find_module mock_calls N/A N/A N/A self assertEqual 3 N/A len N/A mock_load_module mock_calls N/A N/A N/A mock patch N/A %s.os.path.isdir DISCOVER return_value True N/A N/A mock patch N/A %s.imp.load_module DISCOVER N/A N/A mock patch N/A %s.imp.find_module DISCOVER return_value N/A N/A N/A mock MagicMock None None N/A N/A mock patch N/A %s.os.walk DISCOVER return_value N/A N/A /somewhere N/A /subdir N/A plugin1.py N/A /somewhere/subdir N/A /subsubdir N/A plugin2.py withoutextension N/A /somewhere/subdir/subsubdir N/A N/A plugin3.py test_load_plugins_from_file_successful N/A N/A self mock_load_source mock_isfile N/A N/A N/A N/A N/A discover load_plugins /somewhere/plugin.py N/A expected N/A N/A N/A mock call plugin /somewhere/plugin.py N/A N/A N/A self assertEqual expected N/A mock_load_source mock_calls N/A N/A N/A mock patch N/A %s.os.path.isfile DISCOVER return_value True N/A N/A mock patch N/A %s.imp.load_source DISCOVER test_load_plugins_from_nonexisting_and_empty_dir N/A N/A self mock_os N/A N/A N/A N/A N/A N/A mock_os path isdir return_value False N/A N/A N/A discover load_plugins /somewhere N/A N/A N/A N/A mock_os path isdir return_value True N/A N/A N/A mock_os walk return_value N/A N/A N/A N/A discover load_plugins /somewhere N/A N/A N/A mock patch N/A %s.os DISCOVER test_load_plugins_from_file_fails N/A N/A self mock_isfile N/A N/A N/A N/A N/A discover load_plugins /somewhere/plugin.py N/A N/A N/A mock patch N/A %s.os.path.isfile DISCOVER return_value True test_load_plugins_from_nonexisting_file N/A N/A self mock_isfile N/A N/A N/A N/A N/A discover load_plugins /somewhere/plugin.py N/A N/A N/A mock patch N/A %s.os.path.isfile DISCOVER return_value False test_load_plugins_fails N/A N/A self mock_os_walk mock_os_path mock_find_module mock_load_module N/A N/A N/A N/A N/A discover load_plugins /somewhere N/A N/A N/A mock patch N/A %s.imp.load_module DISCOVER side_effect N/A Exception N/A N/A mock patch N/A %s.imp.find_module DISCOVER N/A N/A mock patch N/A %s.os.path DISCOVER return_value True N/A N/A mock patch N/A %s.os.walk DISCOVER return_value N/A N/A /etc/.rally/plugins N/A N/A load_it.py N/A