lint(test,core): remove misplaced test code and fix undefined names

- Import subprocess where used to fix F821 in cli/setup/applications
- Remove accidental test methods from RoleDependencyResolver implementation
- Remove invalid and non-discoverable test functions from test_role_dependency_resolver
- Eliminate test code that was never executed due to wrong scope/indentation
- Restore clear separation between production code and unit tests

https://chatgpt.com/share/6942c3ec-8a10-800f-9a15-c319f5e93089
This commit is contained in:
2025-12-17 15:53:25 +01:00
parent c549febe8a
commit 9e6256dc6e
5 changed files with 2 additions and 153 deletions

View File

@@ -5,6 +5,7 @@ import sys
from pathlib import Path
from module_utils.dict_renderer import DictRenderer
from lookup_plugins.application_gid import LookupModule
import subprocess
def load_yaml_file(path: Path) -> dict:
if not path.exists():