summaryrefslogtreecommitdiffstats
path: root/tests/docker_source.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docker_source.py')
-rw-r--r--tests/docker_source.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/docker_source.py b/tests/docker_source.py
index a921bb8..7f3c783 100644
--- a/tests/docker_source.py
+++ b/tests/docker_source.py
@@ -317,10 +317,12 @@ class TestDockerSource(unittest.TestCase):
"""
with mock.patch.multiple('virtBootstrap.utils',
get_image_details=mock.DEFAULT,
+ is_installed=mock.DEFAULT,
get_image_dir=mock.DEFAULT) as m_utils:
m_utils['get_image_details'].return_value = manifest
m_utils['get_image_dir'].return_value = '/images_path'
+ m_utils['is_installed'].return_value = True
patch_method = 'virtBootstrap.sources.DockerSource.gen_valid_uri'
with mock.patch(patch_method) as m_uri: