Repository: cloudstack
Updated Branches:
  refs/heads/master d14f66f58 -> 1f2d86c9b


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


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1f2d86c9
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1f2d86c9
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1f2d86c9

Branch: refs/heads/master
Commit: 1f2d86c9ba81a2f3d44e6b3aeff28355aeaed011
Parents: d14f66f
Author: Girish Shilamkar <[email protected]>
Authored: Mon Mar 24 20:02:23 2014 -0700
Committer: Girish Shilamkar <[email protected]>
Committed: Mon Mar 24 20:02:23 2014 -0700

----------------------------------------------------------------------
 test/integration/component/test_egress_fw_rules.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1f2d86c9/test/integration/component/test_egress_fw_rules.py
----------------------------------------------------------------------
diff --git a/test/integration/component/test_egress_fw_rules.py 
b/test/integration/component/test_egress_fw_rules.py
index 8fa8a5e..e8db260 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:

Reply via email to