#NEWLINE# def prepare_route( self , vpc_id , gw_id ) : #NEWLINE# #INDENT# data = self . client . describe_route_tables ( Filters = [ { #NEWLINE# #INDENT# 'Name' : 'vpc-id' , #NEWLINE# 'Values' : [ vpc_id ] , #NEWLINE# #UNINDENT# } ] ) #NEWLINE# self . assertEqual ( 1 , len ( data [ 'RouteTables' ] ) ) #NEWLINE# route_table_id = data [ 'RouteTables' ] [ 0 ] [ 'RouteTableId' ] #NEWLINE# kwargs = { #NEWLINE# #INDENT# 'DestinationCidrBlock' : '0.0.0.0/0' , #NEWLINE# 'RouteTableId' : route_table_id , #NEWLINE# 'GatewayId' : gw_id , #NEWLINE# #UNINDENT# } #NEWLINE# self . client . create_route ( * [ ] , ** kwargs ) #NEWLINE# return route_table_id