mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Fix test to get proper formatted version
This commit is contained in:
parent
a92ddf5a41
commit
db5a9a1b4a
1 changed files with 1 additions and 1 deletions
|
@ -80,6 +80,6 @@ def test_versions_report(salt_run_cli):
|
|||
|
||||
|
||||
def test_salt_run_version(salt_run_cli):
|
||||
expected = salt.version.__version__
|
||||
expected = salt.version.__saltstack_version__.formatted_version
|
||||
ret = salt_run_cli.run("--version")
|
||||
assert f"cli_salt_run.py {expected}\n" == ret.stdout
|
||||
|
|
Loading…
Add table
Reference in a new issue