From d52ea7ad85bca96870d84a3c20c57b32160bf2c7 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Fri, 20 Sep 2019 11:17:15 +0200 Subject: [PATCH] add pip3 test --- molecule/ec2-centos-7/tests/test_default.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/molecule/ec2-centos-7/tests/test_default.py b/molecule/ec2-centos-7/tests/test_default.py index 23843a7..089ec9f 100644 --- a/molecule/ec2-centos-7/tests/test_default.py +++ b/molecule/ec2-centos-7/tests/test_default.py @@ -11,4 +11,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner( def test_python3_is_installed(host): python3 = host.package("python36") + pip3 = host.package("python3-pip") + assert python3.is_installed + assert pip3.is_installed