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.
This commit is contained in:
Sahil Batra 2021-10-05 13:18:58 +05:30 committed by Tim Abbott
parent a63385f47f
commit be0387b189
1 changed files with 1 additions and 1 deletions

View File

@ -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