From 48c3a93f248ae6ab83093bd7eaa5abcca86080c5 Mon Sep 17 00:00:00 2001 From: micafer Date: Thu, 17 Oct 2019 12:42:47 +0200 Subject: [PATCH] Fix #926 --- test/unit/connectors/GCE.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/unit/connectors/GCE.py b/test/unit/connectors/GCE.py index dd1d1e534..121e76ce8 100755 --- a/test/unit/connectors/GCE.py +++ b/test/unit/connectors/GCE.py @@ -168,6 +168,8 @@ def test_20_launch(self, save_data, get_driver): self.assertEqual(driver.create_node.call_args_list[0][1]['ex_disks_gce_struct'][1]['autoDelete'], True) self.assertEqual(driver.create_node.call_args_list[0][1]['ex_disks_gce_struct'][2]['deviceName'], "hdc") self.assertEqual(driver.create_node.call_args_list[0][1]['ex_disks_gce_struct'][2]['autoDelete'], False) + self.assertEqual(driver.ex_create_firewall.call_args_list[0][0][0], "im-%s-default-all" % inf.id) + self.assertEqual(driver.ex_create_firewall.call_args_list[1][0][0], "im-%s-default" % inf.id) self.assertEqual(driver.ex_create_firewall.call_args_list[0][0][1], [{'IPProtocol': 'udp', 'ports': '1-65535'}, {'IPProtocol': 'tcp', 'ports': '1-65535'}, {'IPProtocol': 'icmp'}])