#NEWLINE# def test_list_locations( self ) : #NEWLINE# #INDENT# VoxelMockHttp . type = 'LIST_LOCATIONS' #NEWLINE# locations = self . driver . list_locations ( ) #NEWLINE# self . assertEqual ( len ( self ) , 2 ) #NEWLINE# self . assertEqual ( locations [ 0 ] . name , 'Amsterdam' )