CLOUDSTACK-4396: Invalid case comparison leaves egress rule unprogrammed

Thereby failing the wget for the cloud-setup-guest-password script which
in turn fails the test.
Signed-off-by: Prasanna Santhanam <tsp@apache.org>
(cherry picked from commit 8576b1ddc983d74caef77c3bac51103ab26cfc8c)
This commit is contained in:
Prasanna Santhanam 2013-08-19 15:15:17 +05:30
parent f13a6a0deb
commit aec34865ea

View File

@ -135,7 +135,7 @@ class TestVMPasswordEnabled(cloudstackTestCase):
networkid = cls.virtual_machine.nic[0].networkid
# create egress rule to allow wget of my cloud-set-guest-password script
if zone.networktype.lower == 'advanced':
if zone.networktype.lower() == 'advanced':
EgressFireWallRule.create(cls.api_client,
networkid=networkid,
protocol=cls.services["egress"]["protocol"],