#NEWLINE# def test_user_registration_with_wrong_data( self ) : #NEWLINE# #INDENT# request = self . create_distutils_httprequest ( { #NEWLINE# #INDENT# 'name' : 'peter_parker' , #NEWLINE# 'email' : 'parker@dailybugle.com' , #NEWLINE# 'password' : '' , #NEWLINE# #UNINDENT# } ) #NEWLINE# response = simple ( self ) #NEWLINE# self . assertEquals ( 400 , response . status_code )