panda.tests.hitl package

Submodules

panda.tests.hitl.1_program module

panda.tests.hitl.1_program.check_signature(p)[source]
panda.tests.hitl.1_program.test_dfu(p)[source]
panda.tests.hitl.1_program.test_flash(p)[source]
panda.tests.hitl.1_program.test_known_bootstub(p)[source]

Test that compiled app can work with known production bootstub

panda.tests.hitl.1_program.test_recover(p)[source]

panda.tests.hitl.2_health module

panda.tests.hitl.2_health.test_heartbeat(p, panda_jungle)[source]
panda.tests.hitl.2_health.test_hw_type(p)[source]

hw type should be same in bootstub as application

panda.tests.hitl.2_health.test_microsecond_timer(p)[source]
panda.tests.hitl.2_health.test_voltage(p)[source]

panda.tests.hitl.3_usb_to_can module

panda.tests.hitl.3_usb_to_can.test_can_loopback(p)[source]
panda.tests.hitl.3_usb_to_can.test_reliability(p)[source]
panda.tests.hitl.3_usb_to_can.test_serial_debug(p)[source]
panda.tests.hitl.3_usb_to_can.test_throughput(p)[source]

panda.tests.hitl.4_can_loopback module

panda.tests.hitl.5_spi module

class panda.tests.hitl.5_spi.TestSpi[source]

Bases: object

test_all_comm_types(mocker, p)[source]
test_bad_checksum(mocker, p)[source]
test_bad_header(mocker, p)[source]
test_non_existent_endpoint(mocker, p)[source]
test_protocol_version_check(p)[source]
test_protocol_version_data(p)[source]
panda.tests.hitl.5_spi.test_dfu_with_spam(p)[source]

panda.tests.hitl.6_safety module

panda.tests.hitl.6_safety.test_canfd_safety_modes(p)[source]
panda.tests.hitl.6_safety.test_safety_nooutput(p)[source]

panda.tests.hitl.7_internal module

panda.tests.hitl.7_internal.test_fan_controller(p)[source]
panda.tests.hitl.7_internal.test_fan_cooldown(p)[source]
panda.tests.hitl.7_internal.test_fan_overshoot(p)[source]

panda.tests.hitl.8_misc module

panda.tests.hitl.8_misc.test_boot_time(p)[source]

panda.tests.hitl.9_harness module

panda.tests.hitl.conftest module

panda.tests.hitl.helpers module

panda.tests.hitl.helpers.clear_can_buffers(panda, speed: int | None = None)[source]
panda.tests.hitl.helpers.get_random_can_messages(n)[source]
panda.tests.hitl.helpers.time_many_sends(p, bus, p_recv=None, msg_count=100, two_pandas=False, msg_len=8)[source]

panda.tests.hitl.reset_jungles module

panda.tests.hitl.reset_jungles.flash(s)[source]
panda.tests.hitl.reset_jungles.recover(s)[source]

Module contents