#NEWLINE# def test_get( self ) : #NEWLINE# #INDENT# projects = self . hv . projects ( ) #NEWLINE# self . assertIsNotNone ( projects ) #NEWLINE# for project in projects : #NEWLINE# #INDENT# self . assertIsNotNone ( self . id ) #NEWLINE# self . assertIsNotNone ( project . name ) #NEWLINE# self . assertIsNotNone ( project . active ) #NEWLINE# self . assertIsNotNone ( project . billable ) #NEWLINE# self . assertIsNotNone ( project . bill_by ) #NEWLINE# self . assertTrue ( hasattr ( project , 'hourly_rate' ) ) #NEWLINE# self . assertIsNotNone ( project . client_id ) #NEWLINE# self . assertTrue ( hasattr ( project , 'code' ) ) #NEWLINE# self . assertTrue ( hasattr ( project , 'notes' ) ) #NEWLINE# self . assertIsNotNone ( project . budget_by ) #NEWLINE# self . assertTrue ( hasattr ( project , 'budget' ) ) #NEWLINE# self . assertIsNotNone ( project . latest_record ) #NEWLINE# self . assertIsNotNone ( project . earliest_record ) #NEWLINE# self . assertIsNotNone ( project . updated ) #NEWLINE# self . assertIsNotNone ( project . created ) #NEWLINE# self . assertTrue ( hasattr ( project , 'cost_budget' ) )