mirror of
https://github.com/m5stack/esphome.git
synced 2026-05-20 11:52:52 -07:00
0c5f055d45
Co-authored-by: J. Nick Koston <nick@home-assistant.io> Co-authored-by: J. Nick Koston <nick@koston.org>
9 lines
391 B
Python
9 lines
391 B
Python
from tests.testing_helpers import ComponentManifestOverride
|
|
|
|
|
|
def override_manifest(manifest: ComponentManifestOverride) -> None:
|
|
# core (esphome/core/config.py) must run its to_code during C++ test builds
|
|
# because it bootstraps the fundamental application infrastructure that all
|
|
# components depend on (component registration, event loop, etc.).
|
|
manifest.enable_codegen()
|