#NEWLINE# def test_org_create_with_anonymous_user( self ) : #NEWLINE# #INDENT# data = { #NEWLINE# #INDENT# 'name' : 'denoinc' , #NEWLINE# 'org' : 'denoinc' , #NEWLINE# 'city' : 'Denoville' , #NEWLINE# 'country' : 'US' , #NEWLINE# 'home_page' : 'deno.com' , #NEWLINE# 'twitter' : 'denoinc' , #NEWLINE# 'description' : '' , #NEWLINE# 'address' : '' , #NEWLINE# 'phonenumber' : '' , #NEWLINE# 'require_auth' : False , #NEWLINE# #UNINDENT# } #NEWLINE# request = self . factory . post ( '/' , data = json . dumps ( data ) , content_type = 'application/json' ) #NEWLINE# response = self . view ( request ) #NEWLINE# self . assertEquals ( response . status_code , 401 )