Module Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias Import alias ClassDef bases NameLoad body Pass decorator_list Assign NameStore Dict Str Str Str Dict Str Str Str Str Dict Str Str Str NameLoad ListLoad Str Str ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Dict decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Assign NameStore ListComp Call NameLoad comprehension NameStore Call NameLoad Num For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Dict Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Dict Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Dict Str Str NameLoad NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr ListLoad Call NameLoad Str Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr NameLoad Call NameLoad Str Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list Call NameLoad Str FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Call NameLoad ListLoad Str Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Dict Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list
N/A N/A unittest mock MagicMock call patch jumpgate.api Jumpgate jumpgate.common.hooks.core hook_format hook_set_uuid jumpgate.common.dispatcher Dispatcher N/A falcon StubResource N/A object N/A N/A N/A N/A TEST_CFG N/A compute identity enabled_services N/A driver mount path.to.compute.driver /compute N/A driver mount path.to.identity.driver None N/A compute identity TestJumpgateInit N/A N/A unittest TestCase N/A test_init N/A N/A self N/A N/A N/A app N/A Jumpgate N/A N/A N/A self assertEqual N/A app installed_modules N/A N/A N/A N/A self assertIsInstance N/A app before_hooks list N/A N/A N/A self assertIsInstance N/A app after_hooks list N/A N/A N/A self assertEqual N/A app before_hooks N/A hook_set_uuid N/A N/A N/A self assertEqual N/A app after_hooks N/A hook_format N/A N/A N/A self assertEqual N/A app _dispatchers N/A N/A N/A TestJumpgate N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self config N/A MagicMock N/A N/A self app N/A Jumpgate N/A test_make_api N/A N/A self N/A N/A N/A disp N/A Dispatcher N/A resources N/A N/A StubResource N/A i N/A range 10 N/A N/A i resource N/A enumerate resources N/A N/A N/A N/A disp add_endpoint N/A test_%s i N/A /path/to/%s i N/A N/A N/A disp set_handler N/A test_%s i resource N/A N/A N/A N/A self app add_dispatcher SERVICE disp N/A api N/A N/A N/A self app make_api N/A N/A N/A self assertTrue N/A hasattr api __call__ N/A N/A N/A self assertIsInstance api N/A falcon API N/A N/A N/A self assertEqual N/A len N/A api _routes 20 N/A test_add_get_dispatcher N/A N/A self N/A N/A N/A disp N/A Dispatcher N/A N/A N/A N/A self app add_dispatcher SERVICE disp N/A N/A N/A self assertEqual N/A N/A self app _dispatchers N/A SERVICE disp N/A disp_return N/A N/A N/A self app get_dispatcher SERVICE N/A N/A N/A self assertEqual disp_return disp N/A test_get_endpoint_url N/A N/A self N/A N/A N/A disp N/A Dispatcher N/A N/A N/A disp add_endpoint user_page0 /path0/to/{tenant_id} N/A N/A N/A N/A self app add_dispatcher SERVICE disp N/A req N/A MagicMock N/A N/A req env N/A tenant_id 1234 N/A N/A req protocol http N/A N/A N/A req get_header return_value some_host N/A N/A req app N/A url N/A N/A N/A self app get_endpoint_url SERVICE req user_page0 N/A N/A N/A self assertEqual url http://some_host/path0/to/1234 N/A test_load_drivers N/A N/A self import_module N/A N/A N/A compute_disp N/A MagicMock N/A identity_disp N/A MagicMock N/A N/A N/A self app _dispatchers N/A compute identity compute_disp identity_disp N/A N/A N/A self app config TEST_CFG N/A N/A N/A N/A self app load_drivers N/A N/A N/A import_module assert_has_calls N/A N/A call path.to.compute.driver N/A N/A N/A call setup_routes N/A self app compute_disp N/A call path.to.identity.driver N/A N/A N/A call setup_routes N/A self app identity_disp any_order True N/A N/A patch jumpgate.api.importlib.import_module test_load_endpoints N/A N/A self N/A N/A N/A N/A N/A self app config TEST_CFG N/A N/A N/A N/A self app load_endpoints N/A N/A N/A self assertEquals N/A len N/A N/A self app _dispatchers 2 N/A N/A N/A self assertEquals N/A sorted N/A N/A N/A N/A self app _dispatchers keys N/A sorted N/A compute identity N/A N/A N/A self assertEquals N/A N/A self app installed_modules N/A baremetal compute identity image network volume False True True False False False N/A N/A