File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ def __init__(self, client):
18
18
self ._client = client
19
19
self ._model_class = "Luma"
20
20
21
- def get_promises (
21
+ def recommend_service (
22
22
self ,
23
23
** params : dict [str , Any ],
24
24
) -> Shipment :
25
- """Get Luma promises on what rates meet your criteria."""
25
+ """Get service recommendations from Luma that meet your criteria."""
26
26
url = "/luma/promise"
27
27
wrapped_params = {
28
28
self ._snakecase_name ("Shipment" ): params ,
Original file line number Diff line number Diff line change 2
2
3
3
4
4
@pytest .mark .vcr ()
5
- def test_luma_get_promises (
5
+ def test_luma_recommend_service (
6
6
basic_shipment ,
7
7
luma_ruleset_name ,
8
8
luma_planned_ship_date ,
9
9
luma_deliver_by_date ,
10
10
test_client ,
11
11
):
12
- """Test that we get promises from Luma."""
12
+ """Test that we get service recommendations from Luma."""
13
13
basic_shipment ["ruleset_name" ] = luma_ruleset_name
14
14
basic_shipment ["planned_ship_date" ] = luma_planned_ship_date
15
15
basic_shipment ["deliver_by_date" ] = luma_deliver_by_date
16
16
17
- promises = test_client .luma .get_promises (** basic_shipment )
17
+ recommendations = test_client .luma .recommend_service (** basic_shipment )
18
18
19
- assert promises .luma_info .luma_selected_rate is not None
19
+ assert recommendations .luma_info .luma_selected_rate is not None
You can’t perform that action at this time.
0 commit comments