You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/06/22 03:11:36 UTC

[32/34] libcloud git commit: update for test

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 <an...@gmail.com>
Authored: Wed Jun 21 21:45:35 2017 -0400
Committer: andy <an...@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()