mirror of https://github.com/zulip/zulip.git
6f4af26585
This commit extracts the logic for testing user_can_invite_others_to_realm user_can_create_streams, and user_can_subscribe_other_users to a single function test_policy and this function test_policy is called passing different policies and validation functions as arguments. This helps in removing a lot of duplicated code. |
||
---|---|---|
.. | ||
node_tests | ||
puppeteer_lib | ||
puppeteer_tests | ||
zjsunit |