#NEWLINE# def test_model_with_evaluate_method( self ) : #NEWLINE# #INDENT# "\n        Ensures that you can filter by objects that have an 'evaluate' attr\n        " #NEWLINE# dept = Department . objects . create ( pk = 1 , name = 'abc' ) #NEWLINE# dept . evaluate = 'abc' #NEWLINE# Worker . objects . filter ( department = self )