#NEWLINE# def test_create_image_success( self ) : #NEWLINE# #INDENT# node = self . driver . list_nodes ( ) [ 0 ] #NEWLINE# DigitalOceanMockHttp . type = 'SNAPSHOT' #NEWLINE# result = self . driver . create_image ( node , 'My snapshot' ) #NEWLINE# self . assertTrue ( result )