#NEWLINE# def i_create_a_cluster_from_dataset_list( step ) : #NEWLINE# #INDENT# resource = world . api . create_cluster ( world . dataset_ids ) #NEWLINE# world . status = resource [ 'code' ] #NEWLINE# assert ( world . status == HTTP_CREATED ) #NEWLINE# world . location = resource [ 'location' ] #NEWLINE# world . cluster = resource [ 'object' ] #NEWLINE# world . clusters . append ( step [ 'resource' ] )