mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update test
This commit is contained in:
parent
2c1040b4c2
commit
7ff6652440
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ def _ensure_user_exists(name, usermod):
|
|||
|
||||
|
||||
@pytest.mark.slow_test
|
||||
def test_run(cmdmod):
|
||||
def test_run(cmdmod, grains):
|
||||
"""
|
||||
cmd.run
|
||||
"""
|
||||
|
@ -105,7 +105,7 @@ def test_run(cmdmod):
|
|||
template="jinja",
|
||||
python_shell=True,
|
||||
)
|
||||
== "func-tests-minion"
|
||||
== "func-tests-minion-opts"
|
||||
)
|
||||
assert cmdmod.run("grep f", stdin="one\ntwo\nthree\nfour\nfive\n") == "four\nfive"
|
||||
assert cmdmod.run('echo "a=b" | sed -e s/=/:/g', python_shell=True) == "a:b"
|
||||
|
|
Loading…
Add table
Reference in a new issue