Download tests/test_cli.py from jnjnkj/conway: direct link, hf CLI and curl.
- Browser
- Download file 324 Bytes
-
https://huggingface.co/jnjnkj/conway/resolve/main/tests/test_cli.py
- Command line
-
hf download hf://jnjnkj/conway/tests/test_cli.py
-
curl -L -o test_cli.py https://huggingface.co/jnjnkj/conway/resolve/main/tests/test_cli.py
324 Bytes
| from conway.cli import build_parser | |
| def test_status_command_parses(): | |
| args = build_parser().parse_args(["status"]) | |
| assert args.command == "status" | |
| def test_tiny_profile_parses(): | |
| args = build_parser().parse_args(["start", "--profile", "tiny", "--mock", "--max-steps", "1"]) | |
| assert args.profile == "tiny" | |