From e9c13ed7a1888b4b89255d76401874b3db282f6e Mon Sep 17 00:00:00 2001 From: Tim Evans Date: Mon, 27 Jul 2026 13:53:01 +0100 Subject: [PATCH] Sort imports in test_citizen_classes.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Two pre-existing ruff I001 violations in the file this PR touches: pathlib grouped after pytest at module level, and a stdlib import adjacent to a first-party one inside test_update_cli_accepts_class_with_all. Formatting only — no test behaviour changes. Co-Authored-By: Claude Opus 5 --- src/aipass/spawn/tests/test_citizen_classes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aipass/spawn/tests/test_citizen_classes.py b/src/aipass/spawn/tests/test_citizen_classes.py index f2b69efb..b4514094 100644 --- a/src/aipass/spawn/tests/test_citizen_classes.py +++ b/src/aipass/spawn/tests/test_citizen_classes.py @@ -13,10 +13,9 @@ class-aware update, and backward compatibility. """ import json - -import pytest from pathlib import Path +import pytest # ============================================================================= # CLASS REGISTRY TESTS @@ -172,6 +171,7 @@ class TestClassAwareUpdate: def test_update_cli_accepts_class_with_all(self): """update aipass_framework --all should parse correctly and call update_all with class filter.""" from unittest.mock import patch + from aipass.spawn.apps.modules.update import handle_update # Mock update_all to isolate from real branch state