Different optimations

This commit is contained in:
2025-07-11 05:29:06 +02:00
parent 9fa39e5f25
commit 3c63936970
13 changed files with 9 additions and 22 deletions

View File

@@ -2,7 +2,7 @@ import os
import unittest
# import the functions from your CLI script
from cli.generate.conditional_role_include import build_dependency_graph, find_cycle
from cli.generate.role_include import build_dependency_graph, find_cycle
class TestCircularDependencies(unittest.TestCase):
"""

View File

@@ -9,7 +9,7 @@ import yaml
# Adjust path to include cli/ folder
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), "../../../../..", "cli")))
from cli.generate.conditional_role_include import build_dependency_graph, topological_sort, gen_condi_role_incl
from cli.generate.role_include import build_dependency_graph, topological_sort, gen_condi_role_incl
class TestGeneratePlaybook(unittest.TestCase):
def setUp(self):