Skip to content

Commit d46931c

Browse files
authored
fix: add tests for too many arguments: make_model_description
1 parent 0a137e4 commit d46931c

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_model_management.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,9 @@ def make_model_description(
4747
url: str | None = None,
4848
model_file: str = "model.onnx",
4949
additional_files: list[str] | None = None,
50-
deprecated_tar_struct: bool = False,
5150
) -> BaseModelDescription:
5251
"""Build a minimal BaseModelDescription for testing."""
53-
source = ModelSource(hf=hf, url=url, _deprecated_tar_struct=deprecated_tar_struct)
52+
source = ModelSource(hf=hf, url=url, _deprecated_tar_struct=False)
5453
return BaseModelDescription(
5554
model=model,
5655
sources=source,

0 commit comments

Comments
 (0)