Skip to content

Commit

Permalink
relax ansible-core version check to 2.12.x
Browse files Browse the repository at this point in the history
  • Loading branch information
tknerr committed Feb 27, 2023
1 parent 400f35f commit a334b84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/test_ansible.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ def test_ansible_is_installed_at_version_5_5_0_(host):
assert "Name: ansible\nVersion: 5.5.0" in cmd.stdout


def test_ansible_core_is_installed_at_version_2_12_5_(host):
def test_ansible_core_is_installed_at_version_2_12_x_(host):
cmd = host.run("pip3 show --disable-pip-version-check ansible-core")
assert cmd.rc is 0
assert "Name: ansible-core\nVersion: 2.12.5" in cmd.stdout
Expand All @@ -16,5 +16,5 @@ def test_ansible_commands_are_found_(host):
assert host.run('which ansible-playbook').rc is 0


def test_ansible_version_command_reports_core_version_2_12_5_(host):
def test_ansible_version_command_reports_core_version_2_12_x_(host):
assert 'core 2.12.5' in host.run('ansible --version').stdout

0 comments on commit a334b84

Please sign in to comment.