#NEWLINE# def test_delete_content_type( self ) : #NEWLINE# #INDENT# event_index = Page . objects . get ( url_path = '/home/events/' ) #NEWLINE# event_index_content_type = event_index . content_type #NEWLINE# event_index_content_type . delete ( ) #NEWLINE# event_index = Page . objects . get ( url_path = '/home/events/' ) #NEWLINE# self . assertEqual ( event_index . content_type , ContentType . objects . get_for_model ( Page ) )