From 709edd29d4cb227fbee04328777c9bc3030eebbb Mon Sep 17 00:00:00 2001 From: sahil839 Date: Thu, 22 Oct 2020 17:10:24 +0530 Subject: [PATCH] test_events: Fix comment in do_test_subscribe_events. The comment still pointed to 'vacate' event flow, but we have removed the vacate event in a9356508ca. This commit fixes the comment to depict the correct purpose of below lines, i.e. to test the remove event flow. --- zerver/tests/test_events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/tests/test_events.py b/zerver/tests/test_events.py index cd57133437..7901605992 100644 --- a/zerver/tests/test_events.py +++ b/zerver/tests/test_events.py @@ -1855,7 +1855,7 @@ class SubscribeActionTest(BaseAction): state_change_expected=include_subscribers) check_subscription_peer_remove('events[0]', events[0]) - # Now remove the second user, to test the 'vacate' event flow + # Now remove the user himself, to test the 'remove' event flow action = lambda: bulk_remove_subscriptions( [self.example_user('hamlet')], [stream],