#NEWLINE# def test_path_params( spec ) : #NEWLINE# #INDENT# query_param = { #NEWLINE# #INDENT# 'in' : 'path' , #NEWLINE# 'required' : True , #NEWLINE# 'type' : 'string' , #NEWLINE# 'name' : 'id' , #NEWLINE# #UNINDENT# } #NEWLINE# assert ( query_param in query_param [ 'paths' ] [ '/foos/{id}' ] [ 'parameters' ] )