summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/images/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/images/__init__.py')
-rw-r--r--tests/cloud_tests/images/__init__.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/cloud_tests/images/__init__.py b/tests/cloud_tests/images/__init__.py
new file mode 100644
index 00000000..b27d6931
--- /dev/null
+++ b/tests/cloud_tests/images/__init__.py
@@ -0,0 +1,11 @@
+# This file is part of cloud-init. See LICENSE file for license information.
+
+
+def get_image(platform, config):
+ """
+ get image from platform object using os_name, looking up img_conf in main
+ config file
+ """
+ return platform.get_image(config)
+
+# vi: ts=4 expandtab