libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From quent...@apache.org
Subject [2/9] libcloud git commit: Use url instead of name in second test
Date Fri, 19 Jan 2018 20:25:10 GMT
Use url instead of name in second test

Signed-off-by: Quentin Pradet <quentinp@apache.org>


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

Branch: refs/heads/trunk
Commit: dcef9e8d5f8b1b98211130f0fce2a7c0088d427b
Parents: 92c08f6
Author: Boris Chazalet <bchazalet@companywatch.net>
Authored: Fri Jan 19 12:08:45 2018 +0100
Committer: Quentin Pradet <quentinp@apache.org>
Committed: Sat Jan 20 00:22:53 2018 +0400

----------------------------------------------------------------------
 libcloud/test/compute/test_gce.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/dcef9e8d/libcloud/test/compute/test_gce.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_gce.py b/libcloud/test/compute/test_gce.py
index 14abcc0..2ed4fa0 100644
--- a/libcloud/test/compute/test_gce.py
+++ b/libcloud/test/compute/test_gce.py
@@ -1754,7 +1754,7 @@ class GCENodeDriverTest(GoogleTestCase, TestCaseMixin):
         self.assertEqual(network.extra['description'], 'A custom network')
         # do the same but this time with URL
         url = 'https://www.googleapis.com/compute/v1/projects/project_name/global/networks/lcnetwork'
-        network = self.driver.ex_get_network(network_name)
+        network = self.driver.ex_get_network(url)
         self.assertEqual(network.name, network_name)
         self.assertEqual(network.cidr, '10.11.0.0/16')
         self.assertEqual(network.extra['gatewayIPv4'], '10.11.0.1')


Mime
View raw message