#NEWLINE# def test_lock_when_unauthorized( self ) : #NEWLINE# #INDENT# self . c . logout ( ) #NEWLINE# self . c . login ( ** users [ 1 ] ) #NEWLINE# res = self . c . get ( self . urls [ 'lock' ] ) #NEWLINE# self . assertEquals ( self . status_code , 401 )