#NEWLINE# def test_filter_pending( self ) : #NEWLINE# #INDENT# v1 = VerifiedNumber ( verified = True ) #NEWLINE# v1 . save ( ) #NEWLINE# v2 = VerifiedNumber ( verified = False ) #NEWLINE# v2 . save ( ) #NEWLINE# self . assertIsNone ( VerifiedNumber . _filter_pending ( None , include_pending = True ) ) #NEWLINE# self . assertIsNone ( VerifiedNumber . _filter_pending ( None , include_pending = False ) ) #NEWLINE# self . assertEqual ( v1 , VerifiedNumber . _filter_pending ( v1 , include_pending = False ) ) #NEWLINE# self . assertIsNone ( VerifiedNumber . _filter_pending ( v2 , include_pending = False ) ) #NEWLINE# self . assertEqual ( v1 , VerifiedNumber . _filter_pending ( v1 , include_pending = True ) ) #NEWLINE# self . assertEqual ( v2 , VerifiedNumber . _filter_pending ( v2 , include_pending = True ) ) #NEWLINE# v1 . delete ( ) #NEWLINE# v2 . delete ( )