#NEWLINE# def test_create_search_criteria_by_size( self ) : #NEWLINE# #INDENT# self . imap_account = imaplib . IMAP4_SSL ( ) #NEWLINE# size = 3141592 #NEWLINE# search_criterion = search . create_search_criterion ( size = size ) #NEWLINE# assert ( search_criterion == [ 'LARGER "3141592"' ] ) #NEWLINE# search_criterion = search . create_search_criterion_by_size ( size , relative = 'SMALLER' ) #NEWLINE# assert ( search_criterion == 'SMALLER "3141592"' ) #NEWLINE# search_criterion = search . create_search_criterion_by_size ( size , relative = 'LARGER' ) #NEWLINE# assert ( search_criterion == 'LARGER "3141592"' ) #NEWLINE# search_criterion = search . create_search_criterion_by_size ( size , relative = 'Anything' ) #NEWLINE# assert ( search_criterion == 'LARGER "3141592"' )