#NEWLINE# def test_charfield( self ) : #NEWLINE# #INDENT# dickie = Author . objects . create ( name = 'Dickens' ) #NEWLINE# authors = Author . objects . filter ( name__case_exact = 'dickens' ) #NEWLINE# assert ( list ( authors ) == [ ] ) #NEWLINE# authors = Author . objects . filter ( name__case_exact = 'Dickens' ) #NEWLINE# assert ( list ( authors ) == [ dickie ] ) #NEWLINE# authors = Author . objects . filter ( name__case_exact = 'DICKENS' ) #NEWLINE# assert ( list ( authors ) == [ ] )