Skip to content

Commit

Permalink
Fix #926
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Oct 17, 2019
1 parent 86245a4 commit 48c3a93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/connectors/GCE.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'}])
Expand Down

0 comments on commit 48c3a93

Please sign in to comment.