#NEWLINE# def test_create_node( self ) : #NEWLINE# #INDENT# image = NodeImage ( 1531 , None , self . driver ) #NEWLINE# node = self . driver . create_node ( name = 'test1' , image = image , size = self . _get_test_512Mb_node_size ( ) ) #NEWLINE# self . assertEqual ( node . name , 'test1' ) #NEWLINE# self . assertTrue ( ( node . id is not None ) ) #NEWLINE# self . assertEqual ( node . extra [ 'password' ] , 'bebebe' )