test helper: Use subscribe_via_post.

The shorter name more clearly describes what
it does and that it's the more expensive sibling
of simple subscribe.
This commit is contained in:
Steve Howell
2025-01-23 13:53:42 +00:00
committed by Tim Abbott
parent aaa8279cb8
commit a9b7b0e692
4 changed files with 105 additions and 117 deletions

View File

@@ -1463,7 +1463,7 @@ Output:
bulk_remove_subscriptions(realm, [user_profile], [stream], acting_user=None)
# Subscribe to a stream by making an API request
def common_subscribe_to_streams(
def subscribe_via_post(
self,
user: UserProfile,
subscriptions_raw: list[str] | list[dict[str, str]],