#NEWLINE# def test_compress_function_returns_none_when_not_required( self ) : #NEWLINE# #INDENT# fake_field = Mock_PageSelectFormField ( required = False ) #NEWLINE# data_list = ( 0 , None ) #NEWLINE# result = fake_field . compress ( data_list ) #NEWLINE# self . assertEqual ( result , None )