Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
test_events: Rename functions to use dark_theme and light_theme.
Sahil Batraa34dd11b5bc4
diff --git a/zerver/tests/test_events.py b/zerver/tests/test_events.pyindex e02c19be560..03a9bb98a0e 100644--- a/zerver/tests/test_events.py+++ b/zerver/tests/test_events.py@@ -1691,14 +1691,14 @@ class NormalActionsTest(BaseAction):events = self.verify_action(action, state_change_expected=True)check_realm_update_dict("events[0]", events[0])- def test_change_realm_day_mode_logo_source(self) -> None:+ def test_change_realm_light_theme_logo_source(self) -> None:action = lambda: do_change_logo_source(self.user_profile.realm, Realm.LOGO_UPLOADED, False, acting_user=self.user_profile)events = self.verify_action(action, state_change_expected=True)check_realm_update_dict("events[0]", events[0])- def test_change_realm_night_mode_logo_source(self) -> None:+ def test_change_realm_dark_theme_logo_source(self) -> None:action = lambda: do_change_logo_source(self.user_profile.realm, Realm.LOGO_UPLOADED, True, acting_user=self.user_profile)