From be0387b189c56bcd5b9f8dab647d03bec1a672f2 Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Tue, 5 Oct 2021 13:18:58 +0530 Subject: [PATCH] test_subs: Enforce invite_only argument to be named. This commit enforces invite_only argument to be named in _test_user_settings_for_creating_streams. This will help in improving readability especially when we will add is_web_public argument in further commits. --- zerver/tests/test_subs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/tests/test_subs.py b/zerver/tests/test_subs.py index a4be7b4825..a785cde2b7 100644 --- a/zerver/tests/test_subs.py +++ b/zerver/tests/test_subs.py @@ -3257,7 +3257,7 @@ class SubscriptionAPITest(ZulipTestCase): ) def _test_user_settings_for_creating_streams( - self, stream_policy: str, invite_only: bool + self, stream_policy: str, *, invite_only: bool ) -> None: user_profile = self.example_user("cordelia") realm = user_profile.realm