CLOUDSTACK-6279: Fix egress rules tests failed due to comparison between string and unicode

This commit is contained in:
Girish Shilamkar 2014-03-24 20:02:23 -07:00
parent d14f66f58d
commit 1f2d86c9ba

View File

@ -274,7 +274,7 @@ class TestEgressFWRules(cloudstackTestCase):
self.debug("script: %s" % script+exec_cmd_params)
self.debug("result: %s" % result)
if str(result).strip() == expected_result:
if str(result).strip() == unicode(expected_result):
exec_success = True
if negative_test: