#NEWLINE# def test_invalid_pk( self ) : #NEWLINE# #INDENT# '404 is returned if unknown pk is given.' #NEWLINE# self . scribble . delete ( ) #NEWLINE# data = self . get_valid_data ( ) #NEWLINE# response = self . client . post ( self . url , data = data ) #NEWLINE# self . assertEqual ( response . status_code , 404 )