#NEWLINE# def test_create_router_type_tenant( self ) : #NEWLINE# #INDENT# 'Create router type: --tenant_id tenantid myname.' #NEWLINE# resource = 'routertype' #NEWLINE# cmd = routertype . RouterTypeCreate ( test_cli20 . MyApp ( sys . stdout ) , None ) #NEWLINE# template = 'Template 1' #NEWLINE# scheduler = 'my.scheduler:class_name' #NEWLINE# plugin_driver = 'my.plugin.driver:class_name' #NEWLINE# svc_helper = 'my.service.helper:class_name' #NEWLINE# agent_driver = 'my.agent.driver:class_name' #NEWLINE# myid = 'myid' #NEWLINE# args = [ '--tenant_id' , 'tenantid' , template , scheduler , plugin_driver , svc_helper , agent_driver ] #NEWLINE# position_names = [ 'template_id' , 'scheduler' , 'driver' , 'cfg_agent_service_helper' , 'cfg_agent_driver' ] #NEWLINE# position_values = [ template , scheduler , plugin_driver , svc_helper , agent_driver ] #NEWLINE# self . _test_create_resource ( resource , cmd , None , myid , args , position_names , position_values , tenant_id = 'tenantid' )