mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
99a35a7fb4
Signed-off-by: phernandez <paul@basicmachines.co> Co-authored-by: Claude <noreply@anthropic.com>
16 lines
383 B
Python
16 lines
383 B
Python
"""Integration tests for version command."""
|
|
|
|
from typer.testing import CliRunner
|
|
|
|
from basic_memory.cli.main import app
|
|
import basic_memory
|
|
|
|
|
|
def test_version_command():
|
|
"""Test 'bm --version' command shows version."""
|
|
runner = CliRunner()
|
|
result = runner.invoke(app, ["--version"])
|
|
|
|
assert result.exit_code == 0
|
|
assert basic_memory.__version__ in result.stdout
|