#NEWLINE# def test_get_all_instance_types( self ) : #NEWLINE# #INDENT# 'Ensures that all instance types can be retrieved' #NEWLINE# session = get_session ( ) #NEWLINE# total_instance_types = session . query ( models . InstanceTypes ) . count ( ) #NEWLINE# inst_types = instance_types . get_all_types ( ) #NEWLINE# self . assertEqual ( total_instance_types , len ( inst_types ) )