mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 14:35:27 +00:00
The get_user function is poorly named, but I don't want to sweep the entire codebase yet. It's also nice to have a test wrapper for little experiments like profiling tests or hunting down calls to refresh_from_db. It's possible that we would also just change the new wrapper to more directly call Django. The `get_user` function isn't used in a ton of real-world places, so we might want the test code to just bypass the cache.
82 KiB
82 KiB