#NEWLINE# @ mock . patch ( 'magnumclient.v1.baymodels.BayModelManager.create' ) #NEWLINE# def test_baymodel_create_http_proxy_success( self , mock_create ) : #NEWLINE# #INDENT# self . _test_arg_success ( 'baymodel-create --name test --fixed-network private --keypair-id test_keypair --external-network-id test_net --image-id test_image --coe swarm --http-proxy http_proxy ' ) #NEWLINE# self . assertTrue ( self . called )