mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-09 08:21:50 +00:00
Reuses format_banner_version_label() so CLI, TUI, gateway, and desktop show upstream/local commit when available.
12 lines
372 B
Python
12 lines
372 B
Python
"""Tests for gateway /version command."""
|
|
|
|
import asyncio
|
|
|
|
from hermes_cli.banner import format_banner_version_label
|
|
|
|
|
|
def test_gateway_version_command_returns_release_line():
|
|
from gateway.run import GatewayRunner
|
|
|
|
result = asyncio.run(GatewayRunner._handle_version_command(None, None)) # type: ignore[arg-type]
|
|
assert result == format_banner_version_label()
|