#NEWLINE# def test_login_protected( self ) : #NEWLINE# #INDENT# self . client . logout ( ) #NEWLINE# r = self . client . get ( reverse ( 'devhub.bulk_compat_result' , args = [ self . addon . slug , r . result . id ] ) ) #NEWLINE# assert ( r . status_code == 302 ) #NEWLINE# r = self . client . post ( reverse ( 'devhub.json_bulk_compat_result' , args = [ self . addon . slug , self . result . id ] ) ) #NEWLINE# assert ( r . status_code == 302 )