mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
test_stripe: Convert "".format to Python 3.6 f-string.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
2caeb38e9e
commit
de1df81ef6
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user