From 1f2d86c9ba81a2f3d44e6b3aeff28355aeaed011 Mon Sep 17 00:00:00 2001 From: Girish Shilamkar Date: Mon, 24 Mar 2014 20:02:23 -0700 Subject: [PATCH] CLOUDSTACK-6279: Fix egress rules tests failed due to comparison between string and unicode --- test/integration/component/test_egress_fw_rules.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/component/test_egress_fw_rules.py b/test/integration/component/test_egress_fw_rules.py index 8fa8a5ed26b..e8db2606728 100644 --- a/test/integration/component/test_egress_fw_rules.py +++ b/test/integration/component/test_egress_fw_rules.py @@ -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: