test: allow LilyGO cargo firmware without OLED setup page
This commit is contained in:
@@ -476,7 +476,7 @@ def test_cargo_oled_shows_setup_and_service_pages():
|
|||||||
assert 'oledClear("Network")' in source
|
assert 'oledClear("Network")' in source
|
||||||
assert 'oledClear("Alarms")' in source
|
assert 'oledClear("Alarms")' in source
|
||||||
app_config = Path("firmware/esp32/overland-controller/app_config.h").read_text()
|
app_config = Path("firmware/esp32/overland-controller/app_config.h").read_text()
|
||||||
if 'HARDWARE_PROFILE "lilygo_t_relay_s3_6ch"' not in app_config:
|
if 'lilygo_t_relay_s3_6ch' not in app_config:
|
||||||
assert "oledShowSetupPage();" in source
|
assert "oledShowSetupPage();" in source
|
||||||
assert "oledLoop();" in source
|
assert "oledLoop();" in source
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user