Rename test -> tests
这个提交包含在:
17
tests/test_policies.py
普通文件
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)
|
||||
在新工单中引用
屏蔽一个用户