libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [32/34] libcloud git commit: update for test
Date Thu, 22 Jun 2017 03:11:36 GMT
update for test


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

Branch: refs/heads/trunk
Commit: 35bdf4e8e06aaf46e7f14fe30068496f34394c44
Parents: 1b0f5ba
Author: andy <andymaheshw@gmail.com>
Authored: Wed Jun 21 21:45:35 2017 -0400
Committer: andy <andymaheshw@gmail.com>
Committed: Wed Jun 21 21:45:35 2017 -0400

----------------------------------------------------------------------
 libcloud/test/container/test_gke.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/35bdf4e8/libcloud/test/container/test_gke.py
----------------------------------------------------------------------
diff --git a/libcloud/test/container/test_gke.py b/libcloud/test/container/test_gke.py
index e909e83..e4d29d6 100644
--- a/libcloud/test/container/test_gke.py
+++ b/libcloud/test/container/test_gke.py
@@ -51,8 +51,8 @@ class GKEContainerDriverTestCase(GoogleTestCase, TestCaseMixin):
 
     def test_list_images_response(self):
         config = self.driver.list_clusters(ex_zone="us-central1-a")
-        assert "zone" in config
-        assert config.zone == "us-central1-a"
+        assert "clusters" in config
+        assert config["clusters"][0]["zone"] == "us-central1-a"
 
     def test_server_config(self):
         config = self.driver.get_server_config()


Mime
View raw message