Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation

This commit is contained in:
2025-07-08 23:43:13 +02:00
parent 6b87a049d4
commit 563d5fd528
1242 changed files with 2301 additions and 1355 deletions

View File

@@ -6,7 +6,7 @@ import tempfile
from ruamel.yaml import YAML
# Import functions to test; adjust path as needed
from cli.create_docker_role import (
from cli.create_web_app import (
get_next_network,
get_next_port,
load_yaml_with_comments,

View File

@@ -14,7 +14,7 @@ class TestGenerateDefaultApplicationsUsers(unittest.TestCase):
self.roles_dir.mkdir()
# Sample role with users meta
self.role = self.roles_dir / "docker-app-with-users"
self.role = self.roles_dir / "web-app-app-with-users"
(self.role / "vars").mkdir(parents=True)
(self.role / "meta").mkdir(parents=True)

View File

@@ -15,7 +15,7 @@ class TestGenerateDefaultApplications(unittest.TestCase):
self.roles_dir.mkdir()
# Sample role
self.sample_role = self.roles_dir / "docker-testapp"
self.sample_role = self.roles_dir / "web-app-testapp"
(self.sample_role / "vars").mkdir(parents=True)
# Write application_id and configuration