Update test

This commit is contained in:
David Murphy 2023-12-11 17:08:44 -07:00
parent 2c1040b4c2
commit 7ff6652440
No known key found for this signature in database
GPG key ID: 2A0B9ABC42BBA5E9

View file

@ -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"