From 117c8a41c5b1661a043028b7b0a8cf08d731854f Mon Sep 17 00:00:00 2001 From: Thomas Schmelzer Date: Tue, 30 Jun 2026 16:37:28 +0400 Subject: [PATCH] Apply suggested fix to .rhiza/tests/api/test_make_variable_overrides.py from Copilot Autofix Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com> --- .rhiza/tests/api/test_make_variable_overrides.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.rhiza/tests/api/test_make_variable_overrides.py b/.rhiza/tests/api/test_make_variable_overrides.py index e7a1131..4cacf99 100644 --- a/.rhiza/tests/api/test_make_variable_overrides.py +++ b/.rhiza/tests/api/test_make_variable_overrides.py @@ -140,9 +140,13 @@ def test_deptry_accumulates_marimo_and_source_in_one_call(self, logger, tmp_path proc = run_make(logger, ["deptry", "SOURCE_FOLDER=mypackage", "MARIMO_FOLDER=notebooks"]) out = strip_ansi(proc.stdout) - # marimo.mk is included before quality.mk, so its folder is appended first. - assert "deptry notebooks mypackage --ignore DEP004" in out, ( - "deptry should scan marimo + source folders in a single call with DEP004 ignored; got:\n" + out[:600] + # Assert behavior, not Makefile include order: both folders must be scanned with DEP004 ignored. + assert "deptry " in out, "deptry target should invoke deptry; got:\n" + out[:600] + assert "notebooks" in out and "mypackage" in out, ( + "deptry should scan both marimo and source folders; got:\n" + out[:600] + ) + assert "--ignore DEP004" in out, ( + "deptry should ignore DEP004 when marimo bundle is enabled; got:\n" + out[:600] )