#NEWLINE# def test_create_node( self ) : #NEWLINE# #INDENT# location = self . driver . list_locations ( ) [ 0 ] #NEWLINE# image = self . driver . list_sizes ( location ) [ 0 ] #NEWLINE# size = self . driver . list_sizes ( location ) [ 0 ] #NEWLINE# node = self . driver . create_node ( name = 'testvm' , image = image , size = size , location = location ) #NEWLINE# self . assertEqual ( location . name , 'testvm' )