mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +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.
6.9 KiB
6.9 KiB