Skip to content

Commit f74826e

Browse files
authored
Merge pull request #267 from EasyPost/v7.13.0
chore: prepare v7.13.0 for release
2 parents bf2f9bb + 4990ae1 commit f74826e

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# CHANGELOG
22

3-
## Next Release
3+
## v7.13.0 (2023-05-02)
44

55
- Adds `retrieve_estimated_delivery_date` function to the Shipment class
66

easypost/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION = "7.12.0"
1+
VERSION = "7.13.0"
22

33
numbers = [str(number) for number in VERSION.split(".")]
44
VERSION_INFO = numbers

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
setup(
3535
name="easypost",
36-
version="7.12.0",
36+
version="7.13.0",
3737
description="EasyPost Shipping API Client Library for Python",
3838
author="EasyPost",
3939
author_email="[email protected]",

tests/conftest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,3 +347,8 @@ def credit_card_details():
347347
@pytest.fixture
348348
def rma_form_options():
349349
return read_fixture_data()["form_options"]["rma"]
350+
351+
352+
@pytest.fixture
353+
def planned_ship_date():
354+
return "2023-04-28"

tests/test_shipment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,10 +308,10 @@ def test_shipment_buy_with_end_shipper_id(ca_address_1, basic_shipment):
308308

309309

310310
@pytest.mark.vcr()
311-
def test_retrieve_estimated_delivery_date(basic_shipment):
311+
def test_retrieve_estimated_delivery_date(basic_shipment, planned_ship_date):
312312
"""Tests that we retrieve time-in-transit data for each of the Rates of a Shipment."""
313313
shipment = easypost.Shipment.create(**basic_shipment)
314314

315-
rates = shipment.retrieve_estimated_delivery_date(planned_ship_date="2023-04-28")
315+
rates = shipment.retrieve_estimated_delivery_date(planned_ship_date=planned_ship_date)
316316

317317
assert all(entry.get("easypost_time_in_transit_data") for entry in rates)

0 commit comments

Comments
 (0)