#NEWLINE# def test_get_thresholds( self ) : #NEWLINE# #INDENT# thresholds = self . resource . thresholds [ : ] #NEWLINE# expect = [ 'GET' , ( '/v1/rating/module_config/hashmap/thresholds?service_id=' + SERVICE3 [ 'service_id' ] ) ] #NEWLINE# self . http_client . assert_called ( * expect ) #NEWLINE# self . assertEqual ( 1 , len ( thresholds ) ) #NEWLINE# threshold = thresholds [ 0 ] #NEWLINE# self . assertEqual ( SERVICE_THRESHOLD1 [ 'service_id' ] , threshold . service_id ) #NEWLINE# self . assertEqual ( SERVICE_THRESHOLD1 [ 'threshold_id' ] , threshold . threshold_id ) #NEWLINE# self . assertEqual ( SERVICE_THRESHOLD1 [ 'level' ] , threshold . level ) #NEWLINE# self . assertEqual ( SERVICE_THRESHOLD1 [ 'cost' ] , threshold . cost ) #NEWLINE# self . assertEqual ( SERVICE_THRESHOLD1 [ 'map_type' ] , threshold . map_type )