#NEWLINE# def test_to_search_value_no_null_default( self ) : #NEWLINE# #INDENT# f = self . new_field ( f . field_class , default = date ( 2012 , 8 , 3 ) , null = False ) #NEWLINE# self . assertEquals ( f . to_search_value ( None ) , date ( 2012 , 8 , 3 ) )