Skip to content

Commit 871ffe3

Browse files
committed
Fixed deprecated stripe.util import
This import was moved in stripe release 7.8.0
1 parent 3ec56d6 commit 871ffe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fundraising/tests/test_views.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def stripe_data(self, filename):
263263
file_path = settings.BASE_DIR.joinpath(f"fundraising/test_data/{filename}.json")
264264
with file_path.open() as f:
265265
data = json.load(f)
266-
return stripe.util.convert_to_stripe_object(data, stripe.api_key, None)
266+
return stripe.convert_to_stripe_object(data, stripe.api_key, None)
267267

268268
def post_event(self, data):
269269
return self.client.post(

0 commit comments

Comments
 (0)