#NEWLINE# def test_callable_lookup( self ) : #NEWLINE# #INDENT# 'Admin inline should invoke local callable when its name is listed in readonly_fields' #NEWLINE# response = self . client . get ( '/admin/admin_inlines/poll/add/' ) #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertContains ( response , '<div class="inline-group" id="question_set-group">' ) #NEWLINE# self . assertContains ( self , '<p>Callable in QuestionInline</p>' )