From: Aleksey Maksimov Date: Mon, 6 Oct 2014 08:11:28 +0000 (+0800) Subject: added decode to test to make it work in PY 3.x X-Git-Tag: v0.2.26^2~3^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1fef02c8411a183a179e4cfcf0ffb862c55d3492;p=tools%2Fpython-jenkinsapi.git added decode to test to make it work in PY 3.x --- diff --git a/jenkinsapi_tests/systests/test_parameterized_builds.py b/jenkinsapi_tests/systests/test_parameterized_builds.py index 616ae07..7869c4c 100644 --- a/jenkinsapi_tests/systests/test_parameterized_builds.py +++ b/jenkinsapi_tests/systests/test_parameterized_builds.py @@ -52,7 +52,7 @@ class TestParameterizedBuilds(BaseSystemTest): artifacts = build.get_artifact_dict() artB = artifacts['b.txt'] self.assertEqual( - artB.get_data().strip(), + artB.get_data().strip().decode('UTF-8', 'replace'), param_B, )