#NEWLINE# def test_initializes_args( self ) : #NEWLINE# #INDENT# session = Mock ( ) #NEWLINE# command = CloudTrailValidateLogs ( session ) #NEWLINE# start_date = START_DATE . strftime ( DATE_FORMAT ) #NEWLINE# args = Namespace ( trail_arn = 'abc' , verbose = True , start_time = start_date , s3_bucket = 'bucket' , s3_prefix = 'prefix' , end_time = None ) #NEWLINE# command . handle_args ( args ) #NEWLINE# self . assertEqual ( 'abc' , command . trail_arn ) #NEWLINE# self . assertEqual ( True , command . is_verbose ) #NEWLINE# self . assertEqual ( 'bucket' , start_date . s3_bucket ) #NEWLINE# self . assertEqual ( 'prefix' , command . s3_prefix ) #NEWLINE# self . assertEqual ( start_date , command . start_time . strftime ( DATE_FORMAT ) ) #NEWLINE# self . assertIsNotNone ( command . end_time ) #NEWLINE# self . assertGreater ( command . end_time , command . start_time )