mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
CLOUDSTACK-6279: Fix egress rules tests failed due to comparison between string and unicode
This commit is contained in:
parent
d14f66f58d
commit
1f2d86c9ba
@ -274,7 +274,7 @@ class TestEgressFWRules(cloudstackTestCase):
|
|||||||
self.debug("script: %s" % script+exec_cmd_params)
|
self.debug("script: %s" % script+exec_cmd_params)
|
||||||
self.debug("result: %s" % result)
|
self.debug("result: %s" % result)
|
||||||
|
|
||||||
if str(result).strip() == expected_result:
|
if str(result).strip() == unicode(expected_result):
|
||||||
exec_success = True
|
exec_success = True
|
||||||
|
|
||||||
if negative_test:
|
if negative_test:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user