Optimized CLI

This commit is contained in:
2025-05-16 12:12:17 +02:00
parent 94a57312dd
commit 02137576bd
5 changed files with 36 additions and 13 deletions

View File

@@ -29,7 +29,7 @@ class TestGenerateDefaultApplications(unittest.TestCase):
shutil.rmtree(self.temp_dir)
def test_script_generates_expected_yaml(self):
script_path = Path(__file__).resolve().parent.parent.parent / "cli" / "generate_defaults_applications.py"
script_path = Path(__file__).resolve().parent.parent.parent / "cli" / "generate-applications-defaults.py"
result = subprocess.run(
[

View File

@@ -7,7 +7,7 @@ PROJECT_ROOT = Path(__file__).parent.parent.parent.resolve()
sys.path.insert(0, str(PROJECT_ROOT))
# 2) Import from the cli package
import cli.generate_vaulted_credentials as gvc
import cli.create_credentials as gvc
class DummyProc:
def __init__(self, returncode, stdout, stderr=''):