We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7305fed commit c649535Copy full SHA for c649535
1 file changed
spec/test_ansible.py
@@ -0,0 +1,12 @@
1
+
2
+def test_ansible_is_installed_at_version_2_9_6_(host):
3
+ cmd = host.run("pip3 show --disable-pip-version-check ansible")
4
+ assert cmd.rc is 0
5
+ assert "Name: ansible\nVersion: 2.9.6" in cmd.stdout
6
7
+def test_ansible_commands_are_found_(host):
8
+ assert host.run('which ansible').rc is 0
9
+ assert host.run('which ansible-playbook').rc is 0
10
11
+def test_ansible_version_command_reports_version_2_9_6_(host):
12
+ assert '2.9.6' in host.run('ansible --version').stdout
0 commit comments