test_stripe: Convert "".format to Python 3.6 f-string.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2022-01-21 22:58:02 -08:00
committed by Tim Abbott
parent 2caeb38e9e
commit de1df81ef6

View File

@@ -497,7 +497,7 @@ class StripeTestCase(ZulipTestCase):
stripe_session_dict["setup_intent"] = stripe_setup_intent.id
event_payload = {
"id": "evt_{}".format(get_random_string(24)),
"id": f"evt_{get_random_string(24)}",
"object": "event",
"data": {"object": stripe_session_dict},
"type": "checkout.session.completed",