use manual version for now (#2156)

This commit is contained in:
Wing Lian
2024-12-08 21:09:12 -05:00
committed by GitHub
parent 343a4d8855
commit 0c25bc07a2
4 changed files with 33 additions and 10 deletions

View File

@@ -0,0 +1,10 @@
"""pytest tests for axolotl CLI --version"""
from axolotl.cli.main import cli
def test_print_version(cli_runner):
"""Test that version is printed when --version is used."""
result = cli_runner.invoke(cli, ["--version"])
assert result.exit_code == 0
assert "axolotl, version " in result.output