libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [08/51] [abbrv] libcloud git commit: added a lib_misc_test.py for anything that was not a create, edit, or list of some type of CC elelemnt
Date Wed, 31 Oct 2018 03:11:19 GMT
added a lib_misc_test.py for anything that was not a create, edit, or list of some type of
CC elelemnt


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/db962113
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/db962113
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/db962113

Branch: refs/heads/trunk
Commit: db96211311acdc65c10d8104f737c253fa374214
Parents: b3fa472
Author: mitch <mitch.raful@itaas.dimensiondata.com>
Authored: Wed Aug 15 14:04:21 2018 -0400
Committer: mitch <mitch.raful@itaas.dimensiondata.com>
Committed: Wed Aug 15 14:04:21 2018 -0400

----------------------------------------------------------------------
 tests/lib_misc_test.py | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/db962113/tests/lib_misc_test.py
----------------------------------------------------------------------
diff --git a/tests/lib_misc_test.py b/tests/lib_misc_test.py
new file mode 100644
index 0000000..d8be518
--- /dev/null
+++ b/tests/lib_misc_test.py
@@ -0,0 +1,10 @@
+import pytest
+import libcloud
+from libcloud import loadbalancer
+from libcloud.common.nttcis import NttCisAPIException
+
+
+def test_server_clone_to_image(compute_driver):
+    node = compute_driver.ex_get_node_by_id('040fefdb-78be-4b17-8ef9-86820bad67d9 ')
+    result = compute_driver.ex_clone_node_to_image(node, 'sdk_test_image', image_description='A
test image for libcloud')
+    assert result is True


Mime
View raw message