#NEWLINE# @ patch ( 'nailgun.rpc.cast' ) #NEWLINE# def test_verify_networks( self , mocked_rpc ) : #NEWLINE# #INDENT# cluster = self . env . create_cluster ( api = True , net_provider = consts . CLUSTER_NET_PROVIDERS . nova_network ) #NEWLINE# nets = self . env . nova_networks_get ( cluster [ 'id' ] ) . json_body #NEWLINE# resp = self . env . nova_networks_put ( cluster [ 'id' ] , nets ) #NEWLINE# self . assertEqual ( 200 , self . status_code )