Rename test -> tests

这个提交包含在:
Cadene
2024-02-25 10:51:07 +00:00
父节点 598bb496b0
当前提交 6f5c731936
共有 4 个文件被更改,包括 0 次插入 和 0 次删除

17
tests/test_policies.py 普通文件
查看文件

@ -0,0 +1,17 @@
import pytest
from lerobot.common.policies.factory import make_policy
from .utils import init_config
@pytest.mark.parametrize(
"config_name",
[
"default",
"pusht",
],
)
def test_factory(config_name):
cfg = init_config(config_name)
policy = make_policy(cfg)