#NEWLINE# def test_it_checks_owner( self ) : #NEWLINE# #INDENT# mallory = User ( username = 'mallory' , email = 'mallory@example.org' ) #NEWLINE# mallory . set_password ( 'password' ) #NEWLINE# mallory . save ( ) #NEWLINE# url = ( '/integrations/%s/checks/' % r . channel . code ) #NEWLINE# self . client . login ( username = 'mallory@example.org' , password = 'password' ) #NEWLINE# r = self . client . get ( url ) #NEWLINE# assert ( r . status_code == 403 )