mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 00:23:49 +00:00
The names of helpers have evolved over time. I add a few, and I remove `common_subscribe_to_streams`, since most tests just want the simpler subscribe. Note that `subscribe`, while not full stack, does excercise `bulk_add_subscriptions`. So there is no real danger of having unrealistic test data. Almost all of our uses of `common_subscribe_to_streams` are in test_subs.py, so it's already effectively our policy to use subscribe in most cases. And test_subs does more than a thorough job of actually exercising the API.