#NEWLINE# def test_keyvalue_set_invalid_dhcp_ntp_server( self ) : #NEWLINE# #INDENT# resp = self . client . put ( '/en-US/api/v2/keyvalue/3/' , { #NEWLINE# #INDENT# 'system_id' : '2' , #NEWLINE# 'value' : '1.1.1asdfasdf.1' , #NEWLINE# 'key' : 'dhcp.option.ntp_server.0' , #NEWLINE# #UNINDENT# } , follow = True ) #NEWLINE# self . assertEqual ( self . status_code , 401 )