#NEWLINE# def testHours( self ) : #NEWLINE# #INDENT# a = util . Interval ( '5 Hours' ) #NEWLINE# self . assertEquals ( a . seconds , 18000 ) #NEWLINE# a = util . Interval ( '5.5 hour' ) #NEWLINE# self . assertEquals ( a . seconds , 19800 ) #NEWLINE# a = util . Interval ( '5 h' ) #NEWLINE# self . assertEquals ( a . seconds , 18000 )