mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-24 18:31:48 +08:00
The test was failing because collect_strings() imports lfx.components before reaching the pkgutil/importlib mocks. Injecting fake modules into sys.modules lets the import succeed so the mocks can take over.