#NEWLINE# def test_compare_size( self ) : #NEWLINE# #INDENT# '\n        Confirms compare size works.\n        ' #NEWLINE# time = datetime . datetime . now ( ) #NEWLINE# src_file = FileStat ( src = '' , dest = '' , compare_key = 'comparator_test.py' , size = 11 , last_update = src_file , src_type = 'local' , dest_type = 's3' , operation_name = 'upload' ) #NEWLINE# dest_file = FileStat ( src = '' , dest = '' , compare_key = 'comparator_test.py' , size = 10 , last_update = time , src_type = 's3' , dest_type = 'local' , operation_name = '' ) #NEWLINE# should_sync = self . sync_strategy . determine_should_sync ( src_file , dest_file ) #NEWLINE# self . assertTrue ( should_sync )