From c7a0d5d273ea384bc6663392989c8ce66849a6ff Mon Sep 17 00:00:00 2001 From: Zixuan James Li Date: Thu, 14 Jul 2022 11:02:58 -0400 Subject: [PATCH] test_helpers: Remove noop. `BaseNotes(str, str).get_notes` does not do anything here. It was introduced in https://github.com/zulip/zulip/commit/53888e5a26ce0ebfc3cb56877cee363a3d9790d9 by unintendedly. Signed-off-by: Zixuan James Li --- zerver/lib/test_helpers.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/zerver/lib/test_helpers.py b/zerver/lib/test_helpers.py index e6aafd3086..a66869912c 100644 --- a/zerver/lib/test_helpers.py +++ b/zerver/lib/test_helpers.py @@ -45,7 +45,6 @@ from zerver.lib.avatar import avatar_url from zerver.lib.cache import get_cache_backend from zerver.lib.db import Params, ParamsT, Query, TimeTrackingCursor from zerver.lib.integrations import WEBHOOK_INTEGRATIONS -from zerver.lib.notes import BaseNotes from zerver.lib.request import RequestNotes from zerver.lib.upload import LocalUploadBackend, S3UploadBackend from zerver.models import ( @@ -328,7 +327,6 @@ class HostRequestMock(HttpRequest): self.user = user_profile or AnonymousUser() self._body = b"" self.content_type = "" - BaseNotes[str, str].get_notes RequestNotes.set_notes( self,