mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fixing failing tests
This commit is contained in:
parent
2c6749e714
commit
27f6fb4d3c
2 changed files with 4 additions and 0 deletions
|
@ -4411,6 +4411,9 @@ class BaseHighState:
|
|||
)
|
||||
if nstate:
|
||||
for item in nstate:
|
||||
# Skip existing state keywords
|
||||
if item.startswith("__"):
|
||||
continue
|
||||
if "__sls_included_from__" not in nstate[item]:
|
||||
nstate[item]["__sls_included_from__"] = []
|
||||
nstate[item]["__sls_included_from__"].append(
|
||||
|
|
|
@ -323,6 +323,7 @@ def test_dont_extend_in_excluded_sls_file(highstate, state_tree_dir):
|
|||
),
|
||||
("__sls__", "test2"),
|
||||
("__env__", "base"),
|
||||
("__sls_included_from__", ["test1"]),
|
||||
]
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Add table
Reference in a new issue