summaryrefslogtreecommitdiff
path: root/tests/cloud_tests/snapshots/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cloud_tests/snapshots/__init__.py')
-rw-r--r--tests/cloud_tests/snapshots/__init__.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/cloud_tests/snapshots/__init__.py b/tests/cloud_tests/snapshots/__init__.py
new file mode 100644
index 00000000..2ab654de
--- /dev/null
+++ b/tests/cloud_tests/snapshots/__init__.py
@@ -0,0 +1,10 @@
+# This file is part of cloud-init. See LICENSE file for license information.
+
+
+def get_snapshot(image):
+ """
+ get snapshot from image
+ """
+ return image.snapshot()
+
+# vi: ts=4 expandtab