def test_notifications_stream(self) -> None:
    email = self.example_email('hamlet')
    realm = get_realm('zulip')
    realm.notifications_stream_id = get_stream('Denmark', realm).id
    realm.save()
    self.login(email)
    result = self._get_home_page()
    page_params = self._get_page_params(result)
    self.assertEqual(page_params['realm_notifications_stream_id'], get_stream('Denmark', realm).id)
def test_notifications_stream(self) -> None:
    email = self.example_email('hamlet')
    realm = get_realm('zulip')
    realm.notifications_stream_id = get_stream('Denmark', realm).id
    realm.save()
    self.login(email)
    result = self._get_home_page()
    page_params = self._get_page_params(result)
    self.assertEqual(page_params['realm_notifications_stream_id'], get_stream('Denmark', realm).id)