You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@apache.org on 2014/03/25 04:02:31 UTC

git commit: updated refs/heads/master to 1f2d86c

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 <gi...@clogeny.com>
Authored: Mon Mar 24 20:02:23 2014 -0700
Committer: Girish Shilamkar <gi...@clogeny.com>
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: