mirror of
https://github.com/huggingface/lerobot.git
synced 2026-05-22 03:59:42 +00:00
fixup! Add one more test
This commit is contained in:
@@ -151,7 +151,10 @@ def test_pi0_rtc_initialization_without_rtc_config():
|
|||||||
policy = PI0Policy(config)
|
policy = PI0Policy(config)
|
||||||
|
|
||||||
# Verify RTC processor is not initialized
|
# Verify RTC processor is not initialized
|
||||||
assert not hasattr(policy, "rtc_processor")
|
assert hasattr(policy, "rtc_processor")
|
||||||
|
assert policy.rtc_processor is None
|
||||||
|
assert policy.model.rtc_processor is None
|
||||||
|
assert policy.is_rtc_enabled() is False
|
||||||
|
|
||||||
print("✓ PI0 RTC initialization without RTC config: Test passed")
|
print("✓ PI0 RTC initialization without RTC config: Test passed")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user