#NEWLINE# def test_create_invalid( self ) : #NEWLINE# #INDENT# response = self . client . post ( self . url , { #NEWLINE# #INDENT# 'title' : '' , #NEWLINE# #UNINDENT# } ) #NEWLINE# project_form = response . context [ 'project_form' ] #NEWLINE# self . assertEqual ( response . status_code , 200 ) #NEWLINE# self . assertTrue ( project_form . errors )