Download source/tests/unit/test_main_cli.py from khazic/spec-b300: direct link, hf CLI and curl.
- Browser
- Download file 245 Bytes
-
https://huggingface.co/khazic/spec-b300/resolve/main/source/tests/unit/test_main_cli.py
- Command line
-
hf download hf://khazic/spec-b300/source/tests/unit/test_main_cli.py
-
curl -L -o test_main_cli.py https://huggingface.co/khazic/spec-b300/resolve/main/source/tests/unit/test_main_cli.py
245 Bytes
| from typer.testing import CliRunner | |
| from speculators.__main__ import app | |
| def test_convert_help_lists_domino(): | |
| result = CliRunner().invoke(app, ["convert", "--help"]) | |
| assert result.exit_code == 0 | |
| assert "domino" in result.stdout | |