Skip to content

Commit 51fe78c

Browse files
committed
test(recipe): initialize offline dependencies before isolated layout checks
Signed-off-by: Chen Cui <chcui@nvidia.com>
1 parent 84d7082 commit 51fe78c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎tests/unit_tests/recipes/test_verification_card_performance_layouts.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@
3737

3838
@pytest.fixture(autouse=True)
3939
def _keep_recipe_construction_offline(monkeypatch: pytest.MonkeyPatch) -> None:
40+
# The dependency helper patches recipe modules that are already imported.
41+
for _, _, module in PERFORMANCE_LEAVES:
42+
importlib.import_module(module)
4043
patch_recipe_construction_dependencies(monkeypatch)
4144

4245

0 commit comments

Comments
 (0)