selfdrive.thermald.tests package

Submodules

selfdrive.thermald.tests.test_fan_controller module

class selfdrive.thermald.tests.test_fan_controller.TestFanController(methodName='runTest')[source]

Bases: TestCase

test_hot_onroad = None
test_hot_onroad_0()
test_limited = None
test_limited_0()
test_no_fan_wear = None
test_no_fan_wear_0()
test_offroad_limits = None
test_offroad_limits_0()
test_windup_speed = None
test_windup_speed_0()
wind_down(controller, ignition=False)[source]
wind_up(controller, ignition=True)[source]
selfdrive.thermald.tests.test_fan_controller.patched_controller(controller_class)[source]

selfdrive.thermald.tests.test_power_monitoring module

class selfdrive.thermald.tests.test_power_monitoring.TestPowerMonitoring(methodName='runTest')[source]

Bases: TestCase

setUp()[source]

Hook method for setting up the test fixture before exercising it.

test_car_battery_integration_lower_limit()[source]
test_car_battery_integration_offroad()[source]
test_car_battery_integration_onroad()[source]
test_car_battery_integration_upper_limit()[source]
test_car_voltage()[source]
test_delay_shutdown_time()[source]
test_disable_power_down()[source]
test_harness_connection()[source]
test_ignition()[source]
test_max_time_offroad()[source]
test_offroad_ignition()[source]
test_offroad_integration_discharging()[source]
test_pandaState_present()[source]
selfdrive.thermald.tests.test_power_monitoring.mock_time_monotonic()[source]
selfdrive.thermald.tests.test_power_monitoring.pm_patch(name, value, constant=False)[source]

Module contents