#NEWLINE# def test_json( self ) : #NEWLINE# #INDENT# cmdline = self . prefix #NEWLINE# cmdline += ' --load-balancer-name my-lb ' #NEWLINE# cmdline += '--health-check {"Target":"HTTP:80/weather/us/wa/seattle?a=b","Interval":300,"Timeout":60,"UnhealthyThreshold":5,"HealthyThreshold":9}' #NEWLINE# result = { #NEWLINE# #INDENT# 'HealthCheck' : { #NEWLINE# #INDENT# 'HealthyThreshold' : 9 , #NEWLINE# 'Interval' : 300 , #NEWLINE# 'Target' : 'HTTP:80/weather/us/wa/seattle?a=b' , #NEWLINE# 'Timeout' : 60 , #NEWLINE# 'UnhealthyThreshold' : 5 , #NEWLINE# #UNINDENT# } , #NEWLINE# 'LoadBalancerName' : 'my-lb' , #NEWLINE# #UNINDENT# } #NEWLINE# self . assert_params_for_cmd ( self , result )