mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
This migrates some mocked Request class and mocked request achieved with namedtuple in test_decorators and test_mirror_users to use the refactored HostMockRequest. Since weakref cannot be used with namedtuple, this old way of mocking a request object should be migrated to using HostRequestMock. Only after this change we can extract client from the request object and store it via ZulipRequestNotes.
24 KiB
24 KiB