mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Refining test
This commit is contained in:
parent
1f36f79999
commit
4115fc6b05
1 changed files with 4 additions and 2 deletions
|
@ -560,7 +560,8 @@ def test_caller(schema, react_wrap):
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize("file_client", ["runner", "wheel", "local", "caller"])
|
## DGM @pytest.mark.parametrize("file_client", ["runner", "wheel", "local", "caller"])
|
||||||
|
@pytest.mark.parametrize("file_client", ["runner", "wheel", "caller"])
|
||||||
def test_client_cache_missing_key(file_client, react_wrap):
|
def test_client_cache_missing_key(file_client, react_wrap):
|
||||||
"""
|
"""
|
||||||
Test client_cache file_client missing, gets repopulated
|
Test client_cache file_client missing, gets repopulated
|
||||||
|
@ -576,7 +577,8 @@ def test_client_cache_missing_key(file_client, react_wrap):
|
||||||
elif f"{file_client}" == "local":
|
elif f"{file_client}" == "local":
|
||||||
react_wrap.local(chunk["fun"], chunk["tgt"])
|
react_wrap.local(chunk["fun"], chunk["tgt"])
|
||||||
elif f"{file_client}" == "caller":
|
elif f"{file_client}" == "caller":
|
||||||
react_wrap.caller(chunk["fun"], chunk["args"])
|
## react_wrap.caller(chunk["fun"], chunk["args"])
|
||||||
|
react_wrap.caller(chunk["fun"])
|
||||||
else:
|
else:
|
||||||
assert f"{file_client}" == "bad parameterization"
|
assert f"{file_client}" == "bad parameterization"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue