#NEWLINE# def test_permission_required( self ) : #NEWLINE# #INDENT# 'Return 403 if user is does not have permissions to create scribbles.' #NEWLINE# self . user . user_permissions . remove ( self . add_perm ) #NEWLINE# data = self . get_valid_data ( ) #NEWLINE# response = self . client . post ( self . url , data = data ) #NEWLINE# self . assertEqual ( response . status_code , 403 )