diff --git a/test/integration/component/test_egress_fw_rules.py b/test/integration/component/test_egress_fw_rules.py index 8da37381bb5..6060115e091 100644 --- a/test/integration/component/test_egress_fw_rules.py +++ b/test/integration/component/test_egress_fw_rules.py @@ -274,7 +274,10 @@ class TestEgressFWRules(cloudstackTestCase): self.debug("script: %s" % script+exec_cmd_params) self.debug("result: %s" % result) - str_result = str(str(result).strip()) + if isinstance(result, list): + str_result = str([str(x) for x in result]) + else: + str_result = str(result) str_expected_result = str(expected_result).strip() if str_result == str_expected_result: exec_success = True