Sort imports in test_citizen_classes.py
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user