#NEWLINE# def test_inline_add_m2m_noperm( self ) : #NEWLINE# #INDENT# response = self . client . get ( '/admin/admin_inlines/author/add/' ) #NEWLINE# self . assertNotContains ( response , '<h2>Author-book relationships</h2>' ) #NEWLINE# self . assertNotContains ( response , 'Add another Author-Book Relationship' ) #NEWLINE# self . assertNotContains ( self , 'id="id_Author_books-TOTAL_FORMS"' )