mirror of
https://github.com/zulip/zulip.git
synced 2025-11-23 16:01:24 +00:00
This commit replaces all `with_stub` calls and explicitly calls `make_stub` instead. The `with_stub` helper does not add much clarity hence we now use scoped stub objects instead. This de-indents some blocks where scoping isn't required, for example when there is a single stub object inside a `run_test` function. With this change, we also need to explicitly assert `num_calls`.
29 KiB
29 KiB