From e32e848cca8446102545eecc648addb8ab8ea4fd Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Thu, 19 Nov 2026 18:44:39 +0000 Subject: [PATCH] test(ci): import unittest.mock as a plain import in the query test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test_query.py imported unittest both as a module and through from-import, which tests/lint/repository/python/test_import_and_import_from.py rejects; main already failed test-lint on the same shape in test_render.py. 🎯 Fix: 97 % 💥 Break: 1 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 96 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 --- tests/unit/python/cli/meta/ci/test_query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/python/cli/meta/ci/test_query.py b/tests/unit/python/cli/meta/ci/test_query.py index f8c385e76d..8abf5024bc 100644 --- a/tests/unit/python/cli/meta/ci/test_query.py +++ b/tests/unit/python/cli/meta/ci/test_query.py @@ -5,7 +5,7 @@ import subprocess import sys import tempfile import unittest -from unittest import mock +import unittest.mock as mock from cli.meta.ci import query