Skip to content

Commit 1733c46

Browse files
authored
stripe: fix test clocks imports (#9137)
1 parent ede6387 commit 1733c46

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

stubs/stripe/@tests/stubtest_allowlist.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22
stripe\..*\.delete
33
stripe\..*PaymentIntent\.confirm
44
stripe\.api_resources\.test_helpers\.test_clock\.TestClock\.advance
5+
stripe\.api_resources\.test_helpers\.TestClock\.advance
56
stripe\.api_resources\..*\.SearchableAPIResource\.search # Not defined on the actual class in v3, but expected to exist.
67
stripe\.api_resources\..*\.SearchableAPIResource\.search_auto_paging_iter # Not defined on the actual class in v3, but expected to exist.

stubs/stripe/stripe/api_resources/__init__.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ from stripe.api_resources import (
77
reporting as reporting,
88
sigma as sigma,
99
terminal as terminal,
10+
test_helpers as test_helpers,
1011
)
1112
from stripe.api_resources.account import Account as Account
1213
from stripe.api_resources.account_link import AccountLink as AccountLink
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from stripe.api_resources.test_helpers.test_clock import TestClock as TestClock

0 commit comments

Comments
 (0)