try fixing broken eauth test

This commit is contained in:
Thomas Phipps 2023-06-13 21:52:51 +00:00 committed by Megan Wilhite
parent 48ba8089e1
commit e9b1b14b97
2 changed files with 2 additions and 13 deletions

View file

@ -481,17 +481,7 @@ class AsyncClientMixin(ClientStateMixin):
@classmethod
def _proc_function_remote(
cls,
*,
instance,
opts,
fun,
low,
user,
tag,
jid,
daemonize=True,
full_return=False
cls, *, instance, opts, fun, low, user, tag, jid, daemonize=True
):
"""
Run this method in a multiprocess target to execute the function on the
@ -517,7 +507,7 @@ class AsyncClientMixin(ClientStateMixin):
instance = cls(opts)
try:
return instance.cmd_sync(low, full_return=full_return)
return instance.cmd_sync(low)
except salt.exceptions.EauthAuthenticationError as exc:
log.error(exc)

View file

@ -77,7 +77,6 @@ def test_versions_report(salt_run_cli):
assert "relenv" in ret_dict["Dependency Versions"]
assert "Salt Extensions" in ret_dict
assert "salt-analytics-framework" in ret_dict["Salt Extensions"]
def test_salt_run_version(salt_run_cli):