#NEWLINE# def test_get_a_threshold( self ) : #NEWLINE# #INDENT# resource = self . mgr . get ( threshold_id = SERVICE_THRESHOLD1 [ 'threshold_id' ] ) #NEWLINE# expect = [ 'GET' , ( '/v1/rating/module_config/hashmap/thresholds/' + SERVICE_THRESHOLD1 [ 'threshold_id' ] ) ] #NEWLINE# self . http_client . assert_called ( * expect ) #NEWLINE# self . assertEqual ( SERVICE_THRESHOLD1 [ 'threshold_id' ] , resource . threshold_id ) #NEWLINE# self . assertEqual ( SERVICE_THRESHOLD1 [ 'service_id' ] , resource . service_id ) #NEWLINE# self . assertEqual ( SERVICE_THRESHOLD1 [ 'level' ] , resource . level ) #NEWLINE# self . assertEqual ( SERVICE_THRESHOLD1 [ 'cost' ] , resource . cost ) #NEWLINE# self . assertEqual ( SERVICE_THRESHOLD1 [ 'map_type' ] , resource . map_type )