mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
The original mocking example now uses time_machine, so I slimmed down a lot of its comments, and then I created another mocking example so that we still touch on mocking in terms of mock.patch. The new method reinforces the pattern of testing both the sad path and happy path inside the same test.
24 KiB
24 KiB