#NEWLINE# def test_user_cant_edit_other_domains( self ) : #NEWLINE# #INDENT# "Normal user can't edit domains she doesn't own." #NEWLINE# request = self . u_client . patch ( get_domain_url ( request . su_domain ) , { #NEWLINE# #INDENT# 'type' : 'NATIVE' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( request . status_code , 403 )