From 38b7c80217c4e72b1d8988eb1e60bb6e77334114 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 18 Apr 2024 07:52:22 +0200 Subject: Adding upstream version 9.4.0+dfsg. Signed-off-by: Daniel Baumann --- ansible_collections/cyberark/conjur/tests/unit/Dockerfile | 5 ++++- .../conjur/tests/unit/plugins/lookup/test_conjur_variable.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'ansible_collections/cyberark/conjur/tests/unit') diff --git a/ansible_collections/cyberark/conjur/tests/unit/Dockerfile b/ansible_collections/cyberark/conjur/tests/unit/Dockerfile index 66e584669..677862d96 100644 --- a/ansible_collections/cyberark/conjur/tests/unit/Dockerfile +++ b/ansible_collections/cyberark/conjur/tests/unit/Dockerfile @@ -1,5 +1,8 @@ ARG PYTHON_VERSION -FROM python:${PYTHON_VERSION} +FROM python:${PYTHON_VERSION}-slim + +RUN apt-get update && \ + apt-get install -y git ARG ANSIBLE_VERSION RUN pip install https://github.com/ansible/ansible/archive/${ANSIBLE_VERSION}.tar.gz --disable-pip-version-check diff --git a/ansible_collections/cyberark/conjur/tests/unit/plugins/lookup/test_conjur_variable.py b/ansible_collections/cyberark/conjur/tests/unit/plugins/lookup/test_conjur_variable.py index 7a0db1e12..995adf2da 100644 --- a/ansible_collections/cyberark/conjur/tests/unit/plugins/lookup/test_conjur_variable.py +++ b/ansible_collections/cyberark/conjur/tests/unit/plugins/lookup/test_conjur_variable.py @@ -2,7 +2,7 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type from unittest import TestCase -from unittest.mock import call, MagicMock, patch +from unittest.mock import MagicMock, patch from ansible.errors import AnsibleError from ansible.plugins.loader import lookup_loader -- cgit v1.2.3