#NEWLINE# def test_bad_slug( self ) : #NEWLINE# #INDENT# url = self . get_edit_url ( 'bad-slug' ) #NEWLINE# response = self . client . get ( url ) #NEWLINE# self . assertEqual ( response . status_code , 404 )