diff --git a/test-requirements.txt b/test-requirements.txt index 7daefde8d..1b558df61 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,5 +1,6 @@ molecule docker +pytest pytest-testinfra selinux passlib diff --git a/tests/integration/molecule.sh b/tests/integration/molecule.sh index 57545950a..4a0cf5268 100755 --- a/tests/integration/molecule.sh +++ b/tests/integration/molecule.sh @@ -13,11 +13,11 @@ apt -y install docker.io # Install test requirements from role if [ -f "$role_root/test-requirements.txt" ]; then - python -m pip install -r "$role_root/test-requirements.txt" + python -m pip install --upgrade -r "$role_root/test-requirements.txt" fi # Install test requirements from collection if [ -f "$collection_root/test-requirements.txt" ]; then - python -m pip install -r "$collection_root/test-requirements.txt" + python -m pip install --upgrade -r "$collection_root/test-requirements.txt" fi # Install ansible version specific requirements