mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 21:13:36 +00:00
version: Display Zulip version in About Zulip dialog.
We record Git details about the merge-base with upstream branches in the zulip-git-version file, if the upstream repository is available. Note that the first Git upgrade after merging the parent commit will not include the merge-base details, since the upstream repository will not have been available. Co-authored-by: Tim Abbott <tabbott@zulip.com> Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
03420831b0
commit
668b5137b0
@@ -1,8 +0,0 @@
|
||||
from zerver.context_processors import get_zulip_version_name
|
||||
from zerver.lib.test_classes import ZulipTestCase
|
||||
|
||||
|
||||
class TestContextProcessors(ZulipTestCase):
|
||||
def test_get_zulip_version_name(self) -> None:
|
||||
self.assertEqual(get_zulip_version_name("4.0-dev+git"), "Zulip 4.0-dev")
|
||||
self.assertEqual(get_zulip_version_name("4.0"), "Zulip 4.0")
|
||||
Reference in New Issue
Block a user