mirror of
https://github.com/esphome/esphome.git
synced 2026-10-04 18:11:29 +00:00
address bot comments
This commit is contained in:
@@ -118,6 +118,10 @@ def test_code_generation(
|
||||
"""Test code generation for display."""
|
||||
|
||||
main_cpp = generate_main(component_fixture_path("mipi_dsi.yaml"))
|
||||
assert (
|
||||
"static esphome::PlacementStorage<mipi_dsi::MIPI_DSI> p4_nano_storage_;"
|
||||
in main_cpp
|
||||
)
|
||||
assert (
|
||||
"static mipi_dsi::MIPI_DSI *const p4_nano = p4_nano_storage_.get();" in main_cpp
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user