mirror of https://github.com/zulip/zulip.git
test_decorators: Convert "".format to Python 3.6 f-strings.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
7d515ac510
commit
bd3c099978
|
@ -1263,7 +1263,7 @@ class InactiveUserTest(ZulipTestCase):
|
|||
with self.settings(AUTHENTICATION_BACKENDS=("zproject.backends.EmailAuthBackend",)):
|
||||
self.assertFalse(form.is_valid())
|
||||
self.assertIn(
|
||||
"Your account {} has been deactivated".format(user_profile.delivery_email),
|
||||
f"Your account {user_profile.delivery_email} has been deactivated",
|
||||
str(form.errors),
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue