* CLI init refactor * fix * cleanup and (partial) docs * Adding documentation and continuing cleanup (in progress) * remove finetune.py script * continued cleanup and documentation * pytest fixes * review comments * fix * Fix * typing fixes * make sure the batch dataset patcher for multipack is always loaded when handling datasets * review comments * fix --------- Co-authored-by: Dan Saunders <dan@axolotl.ai> Co-authored-by: Wing Lian <wing@axolotl.ai>
12 lines
313 B
Python
12 lines
313 B
Python
"""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
|