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