#NEWLINE# def test_parse_time_range_truncates_the_hour( self ) : #NEWLINE# #INDENT# start_dt = datetime ( 2013 , 6 , 27 , 10 , 15 , 34 ) #NEWLINE# end_dt = datetime ( 2013 , 6 , 30 , 13 , 45 , 30 ) #NEWLINE# expected_start_dt = datetime ( 2013 , 6 , 27 , 10 , 0 , 0 ) #NEWLINE# expected_end_dt = datetime ( 2013 , 6 , 30 , 13 , 0 , 0 ) #NEWLINE# assert_that ( parse_time_range ( start_dt , end_dt ) , is_ ( ( expected_start_dt , expected_end_dt ) ) )