Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /autonomi-ai_nos /tests /cli /test_cli_hub.py
| import pytest | |
| from typer.testing import CliRunner | |
| from nos.cli.cli import app_cli | |
| runner = CliRunner() | |
| def test_cli_hub_list(): | |
| result = runner.invoke(app_cli, ["hub", "list"]) | |
| assert result.exit_code == 0 | |
| def test_cli_hub_download(): | |
| from nos import hub | |
| from nos.constants import NOS_MODELS_DIR | |
| models = hub.list() | |
| for model in models: | |
| result = runner.invoke(app_cli, ["hub", "download", "-m", model, "-d", NOS_MODELS_DIR]) | |
| assert result.exit_code == 0 | |
Xet Storage Details
- Size:
- 551 Bytes
- Xet hash:
- a2fd2ebb96fe0ebfd7b0e638bbecb662066e46d3d69f6618750f63c3a2b8e63e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.